Check Box - text left/box right

Richmond richmondmathewson at gmail.com
Sat Nov 9 16:30:33 EST 2013


On 9.11.2013 21:14, Brahmanathswami wrote:
> I was sure there was a time that one could make a check box align to 
> the right of the button label, instead of the default, which is a 
> check box with the button's text to it's right. But today I'm unable 
> to make that happen. Any clues?
>
> Swasti Astu, Be Well!
> Brahmanathaswami
>
> Kauai's Hindu Monastery
> www.HimalayanAcademy.com
>
>

Gottit!

try this:

with a button that has NO label (which will seem a bit odd when you see 
the code)
i.e. you will be able to shift the NAME of the checkbox, NOT the label:

Let's assume that your button "Swasti"
has a name that is 40 pixels wide:

so, try this in your messageBox:

set the labelWidth of btn "Swasti" to 100

and, hey presto; your Checkbox name should have been shifted over to the 
left of the check box.

Richmond.




More information about the use-livecode mailing list