few-pizza-8232
11/26/2022, 10:06 PMVBox
ignores those
- removed the Grid
, that was just getting in the way, and a spare VBox
that I think was intended as a spacer
- if you need a grid layout in here you should add it as a child of the help VBox
- added height="100%"
to a few elements to help it estimate sizes. This tells it to stretch those elements to fill their containers (including the root VBox
!)few-pizza-8232
11/26/2022, 10:08 PMhallowed-ocean-84954
11/26/2022, 10:12 PMhallowed-ocean-84954
11/26/2022, 10:12 PMfew-pizza-8232
11/26/2022, 10:19 PMVBox
you're not going to get something that lays out bottom-to-top, I think. If you're not interested in building layouts of elements in rows and columns the Absolute
container might suit your usehallowed-ocean-84954
11/26/2022, 10:20 PMhallowed-ocean-84954
11/26/2022, 11:11 PMhallowed-ocean-84954
11/27/2022, 4:37 AM<optionbox id="directional" componentGroup="lightGroup" text="Directional light" disabled="${useTexture.selected || rubiks.selected}" />
I can do it in a callback in the hx file of course but just wondering if there is a purely XML way. I tried parens around the expression and so on but not finding a winner.bright-gpu-74537
11/27/2022, 8:15 AMbright-gpu-74537
11/27/2022, 8:18 AMbright-gpu-74537
11/27/2022, 2:20 PMfierce-soccer-8550
11/27/2022, 2:25 PMbright-gpu-74537
11/27/2022, 2:47 PMhallowed-ocean-84954
11/27/2022, 3:09 PMbright-gpu-74537
11/27/2022, 3:10 PMbright-gpu-74537
11/27/2022, 3:12 PMhallowed-ocean-84954
11/27/2022, 3:15 PMbright-gpu-74537
11/27/2022, 3:16 PMbright-gpu-74537
11/27/2022, 3:17 PMhallowed-ocean-84954
11/27/2022, 3:18 PMbright-gpu-74537
11/27/2022, 3:19 PMfull-journalist-82607
11/27/2022, 3:24 PMbright-gpu-74537
11/27/2022, 3:26 PMbright-gpu-74537
11/27/2022, 3:27 PMfull-journalist-82607
11/27/2022, 3:27 PMfull-journalist-82607
11/27/2022, 3:39 PMhaxe
public override function onComponentAdded(child:Component) {
_component.registerInternalEvents(true);
}
But for some reason, it makes the code in my real app propblematic. I don't know yet if it's because, of my code, or another bug.bright-gpu-74537
11/27/2022, 3:40 PMbright-gpu-74537
11/27/2022, 3:40 PMbright-gpu-74537
11/27/2022, 3:41 PMUIEvent.COMPONENT_ADDED
bright-gpu-74537
11/27/2022, 3:42 PM_component.registerEvent, UIEvent.COMPONENT_ADDED, onComponentAdded
), and then re register the events there ... ... ... ?