proxyuser
2009-06-12 13:11:44 UTC
Let's say you had a dialog where you wanted to display either 2 or 3
buttons, but either way you wanted them spaced evenly across the bottom. In
other words, sometimes there are 2 buttons with the 3rd hidden, but when the
3rd unhides you want the other 2 to shift over. In the Designer, you can
select them and click on Make Horizontal Spacing Equal. Is there a way to
do this programmatically? It seems tedious to have to actually figure out
the pixels to move each button.
buttons, but either way you wanted them spaced evenly across the bottom. In
other words, sometimes there are 2 buttons with the 3rd hidden, but when the
3rd unhides you want the other 2 to shift over. In the Designer, you can
select them and click on Make Horizontal Spacing Equal. Is there a way to
do this programmatically? It seems tedious to have to actually figure out
the pixels to move each button.