Names on buttons

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Alistair
Posts: 33
Joined: Mon Jun 23, 2008 6:45 am
Location: Victoria University

Names on buttons

Post by Alistair » Fri Sep 12, 2008 4:54 am

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.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Fri Sep 12, 2008 6:48 am

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.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Alistair
Posts: 33
Joined: Mon Jun 23, 2008 6:45 am
Location: Victoria University

Post by Alistair » Fri Sep 12, 2008 7:20 am

Terrific. It is so obvious once one knows how. Thanks so much

Post Reply

Return to “Mac OS”