resizing buttons based on with of window
so if i have a window with 10 buttons, or 20, or whatnot
and i make the window resizable left and right, is it possible to have the buttons resize too? so far i cant figure out how to do that if possible anchoring wouldnt work since they shouldnt be one size but dynamically change sized based on how much room they have to fit. i am fiddling around with the selector window. |
It can be done with anchors if there are only 2 or 3 buttons but it's not really possible with an entire bank of buttons.
You're best bet is probably to put buttons with a fixed width in a tilelayoutbox and keep the tilelayoutbox centered with left and right anchors. |
yeah right now i have them in a layoutbox, and with fixed width basded on my resolution but woulda been neat if i could rezie it so others could use it at their resolution, if ii do resize it, the last button looks wonky af..
wait that gave me an idea, invisibily button at start and end gets the wierd look... hmm will have to try t hat. |
All times are GMT -5. The time now is 03:47 PM. |
vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.