object resizing

BlitzMax Forums/MaxGUI Module/object resizing

ziggy(Posted 2006) [#1]
How can I avoid object being resized and repositioned when the form they're in changes its size?


Dreamora(Posted 2006) [#2]
SetGadgetLayout is used to control the behavior of gadget it the parent changes in size


ziggy(Posted 2006) [#3]
I know it, but there's any option to say 'Do not arrange anything' ? I don't see an option like this one


grable(Posted 2006) [#4]
Proper usage of SetGadgetLayout does exactly that.

try:
SetGadgetLayout gadget, 1,0,1,0



Grisu(Posted 2006) [#5]
Ahm. SetGadgetLayout gadget, 0,0,0,0?

0=every edge is disabled.

P.S.: Example code mostly helps solving issues!