Hi,
I am trying to re-size a panel that has 12 buttons in it but when re-sizing the panel I want it to resize the buttons.
Each of the buttons are square in size and are the same size, like shown in the image below.
How can I make it so that the buttons resize based on the panel size ?
So if the panel gets bigger (or smaller) the buttons then get bigger (or smaller) but keeping the spacing between the buttons the same.
However, if the panel that is holding the buttons is wider then the height like shown below, I want to make the buttons smaller but cantering the buttons since the button needs to remain square in size.
Anyone know how I can do this ?
(I have been trying all day and can't seem to work it out.)
I am trying to re-size a panel that has 12 buttons in it but when re-sizing the panel I want it to resize the buttons.
Each of the buttons are square in size and are the same size, like shown in the image below.
How can I make it so that the buttons resize based on the panel size ?
So if the panel gets bigger (or smaller) the buttons then get bigger (or smaller) but keeping the spacing between the buttons the same.
However, if the panel that is holding the buttons is wider then the height like shown below, I want to make the buttons smaller but cantering the buttons since the button needs to remain square in size.
Anyone know how I can do this ?
(I have been trying all day and can't seem to work it out.)