Checkbox Text Alignment

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Checkbox Text Alignment

Post by bidgeeman » Wed May 20, 2009 1:56 am

Hi.
Is it possible to set the Label of a Textbox to appear on the left side rather than the right side?

Thanks
Bidge

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10050
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Post by FourthWorld » Wed May 20, 2009 2:08 am

Yes, with the textAlign property. If you want you can also fine-tune that alignment with the leftMargin and rightMargin properties.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Wed May 20, 2009 2:16 am

Thank you for that.

Cheers
Bidge

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Wed May 20, 2009 2:18 am

Oh...sorry. I meant actually have the text appear on the left side of the checkbox. It's default is on the right side of the button.

EDIT: Ahhh...my apologies. I see now how it's done!
Thanks again.

Cheers
Bidge

Post Reply