I need a FIXED flag let makes sure the child gadgets keep their a nd y positions. I don't want them to move around when the parent is resized. Is there a way to this? It's really screwing things up.
SetGadgetLayout need s FIXED flag
BlitzMax Forums/BlitzMax GUI Programming/SetGadgetLayout need s FIXED flag you can lock x and y like this..
0 = EDGE_CENTERED
1 = EDGE_ALIGNED
2 = EDGE_RELATIVE
SetGadgetLayout(gadget,1,0,1,0)
0 = EDGE_CENTERED
1 = EDGE_ALIGNED
2 = EDGE_RELATIVE
tried that is still moves the child gadgets, thanks though.
Me too! Will hopefully in next update.
I tend to place childs-gadgets on a panel, and the panel on the initial parent (layout locked).
At the cost of a panel, you'll have your solution for now.
At the cost of a panel, you'll have your solution for now.
unfortunately I do have them on a panel, that is on a tabber, but when I resize the tabber the children of the panel move. What am I doing wrong?
ah.. hm, I never use tabbers, haven't checked that. Usually I use panels on a window. When I make the window smaller, the panelsurface becomes smaller without squeezing its content, so some gadgets on the panel just move out of the screen.
i think in default there should nothing moved around
because i rather positioning any controls by myself .
nice to have:
SetGadgetLayoutDefault
because i rather positioning any controls by myself .
nice to have:
SetGadgetLayoutDefault