Radio button disappearing when window resizing

BlitzMax Forums/BlitzMax Beginners Area/Radio button disappearing when window resizing

Galdy(Posted 2013) [#1]
I have a row of radio buttons along left side of a window, but when I began to add another row to the right, the button is disappearing when I expand the window to the right. I have Layouts for all the radio buttons set to stay put when resizing. 1, 1, 1, 0. I don't get why something is covering up my Delete button when I expand the window to the right. Ones on the left are uneffected


Local MyButton7:TGadget = CreateButton("Delete", 200, 20, 100, 40, ToolSelectionWindow, BUTTON_RADIO)
SetGadgetLayout MyButton7, 1, 1, 1, 0


Last edited 2013

Last edited 2013


Brucey(Posted 2013) [#2]
1, 1, 1, 0 doesn't make sense… unless you expect it to get longer as you make your window wider?

Left,Right,Top,Bottom.

Perhaps you want it to be locked to Left, Top? in which case 1, 0, 1, 0 ?


Galdy(Posted 2013) [#3]
Ah gee wiz. You are right. The buttons on the left were not 1,0,1,0 so they were stretching over the ones to the right of it. lol.