#stack panel refuses to go in the bottom right

1 messages · Page 1 of 1 (latest)

trim ore
#
{
    "test_panel": {
        "type": "panel",
        "anchor_from": "bottom_right",
        "anchor_to": "bottom_right",
        "size": [
            "100%",
            "100%cm + 0.5px"
        ],
        "controls": [
            {
                "[email protected]": {}
            }
        ]
    },
    "test": {
        "type": "panel",
        "anchor_to": "bottom_right",
        "anchor_from": "bottom_right",
        "size": [
            "100%c + 2px",
            "100%c + 2px"
        ],
        "offset": "@hud.test_anim",
        "layer": 998,
        "bindings": [
            {
                "binding_name": "#text"
            },
            {
                "binding_type": "view",
                "source_property_name": "(('%.19s' * #text) = 'pickupnotification.')",
                "target_property_name": "#visible"
            },
            {
                "binding_type": "view",
                "source_property_name": "(#text - 'pickupnotification.')",
                "target_property_name": "#text_remainder"
            }
        ],
        "controls": [
            {
                "text": {
                    "type": "label",
                    "layer": 999,
                    "text": "#text",
                    "anchor_from": "bottom_right",
                    "anchor_to": "bottom_right",
                    "localize": false,
                    "shadow": true,
                    "bindings": [
                        {
                            "binding_type": "view",
                            "source_control_name": "test",
                            "source_property_name": "#text_remainder",
                            "target_property_name": "#text",
                            "resolve_sibling_scope": true
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(not (#text = ''))",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            }
        ]
    },
    "test_anim": {
        "anim_type": "offset",
        "easing": "out_sine",
        "next": "@hud.test_anim2",
        "from": [
            "100%c + 40px",
            "0px"
        ],
        "to": [
            "-2px",
            "0px"
        ],
        "duration": 1
    },
    "test_anim2": {
        "anim_type": "wait",
        "next": "@hud.test_anim3",
        "duration": 4
    },
    "test_anim3": {
        "anim_type": "offset",
        "easing": "in_sine",
        "from": [
            "-2px",
            "0px"
        ],
        "to": [
            "100%c + 40px",
            "0px"
        ],
        "duration": 1,
        "destroy_at_end": "chat_grid_item"
    },
    "test_factory": {
        "type": "stack_panel",
        "size": [
            "100%",
            "100%"
        ],
        "anchor_from": "bottom_right",
        "anchor_to": "bottom_right",
        "factory": {
            "name": "chat_item_factory",
            "control_ids": {
                "chat_item": "[email protected]_panel"
            }
        }
    },
    "root_panel": {
        "modifications": [
            {
                "array_name": "controls",
                "operation": "insert_front",
                "value": [
                    {
                        "[email protected]_factory": {}
                    }
                ]
            }
        ]
    }
}
#

i have no clue why it won't go down there