Page 1 of 1

Names on buttons

Posted: Fri Sep 12, 2008 4:54 am
by Alistair
Is there any way to adjust the position of names on buttons? The names are showing up in the upper half of the button rather than centered.

Posted: Fri Sep 12, 2008 6:48 am
by Janschenkel
Tweak the 'margins' property of your button.
- if you pass 1 integer then the margins on all 4 sides are the same;
- if you pass a set of 4 integers then it sets the margin for left, top, right, bottom in that order.
You can find the 'margins' property in the 'Text' panel of the Inspector palette.

Hope this helped,

Jan Schenkel.

Posted: Fri Sep 12, 2008 7:20 am
by Alistair
Terrific. It is so obvious once one knows how. Thanks so much