I have created this small GUI. My problem is that I cant center the EXIT button in its x axis.
The solutions I have found are for centering the buttons in the GUI box, not to the axis where the button is positioned.
So how can I do that?
here is the code with the buttons. they are positioned in two columns and three rows. The Exit button is the only one in its own row.
The GUI box is static, not dynamic.
Code: Select all
Gui, Add, button, section w150 h35, 1 Gui, Add, button, ys w150 h35, 2 Gui, Add, button, xs section w150 h35, 3 Gui, Add, button, ys w150 h35, 4 Gui, Add, button, center w200 h35, EXIT Gui, Show, Center, Work Selector Return