Check Box - text left/box right

dunbarx at aol.com dunbarx at aol.com
Sat Nov 9 22:56:03 EST 2013


Richmond.


Are you starting with a checkbox? I do not see what you do. The box stays on the left. 6.1.2


Craig


set the labelWidth of btn "Swasti" to 100





-----Original Message-----
From: Richmond <richmondmathewson at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sat, Nov 9, 2013 4:31 pm
Subject: Re: Check Box - text left/box right


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.

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the Use-livecode mailing list