alignment of combo box label text

Gary Rathbone gary.rathbone at
Mon Sep 2 12:43:01 EDT 2002

I've been looking at the "margins" property in the Transcript dictionary
which states "use the margins property to control how close text within a
button can come to the objects edges..."

Also, if you click the little blue arrow to the left of the 'Show
Dimensions" label at the bottom of the button property box (basic tag), you
can type in a comma list eg 8,12,16,24.

Saying that I wrote a script to change the margins of a combo box and it
didn't change anything... I'll keep playing...


Gary Rathbone

----- Original Message -----
From: "Brad Allen" <BradAllen at>
To: <use-revolution at>
Sent: Sunday, September 01, 2002 1:33 AM
Subject: alignment of combo box label text

> All my combo boxes look funny under Windows. The label text is
> scrunched in the upper left of the button, making it difficult to
> read. It looks a little better on the Mac, but I'd like to be able to
> control the alignment of the label text of combo buttons. Is there
> currently a way to do this?
> I tried the following, but it didn't work: set the textshift of
> button "CPU Model" to 3
> Most of the text properties of the button don't affect the label, so
> I can't change the alignment or the spacing between the label and the
> top of the button. However, for some reason the font size and style
> do affect the label of the button.
> In Transcript, of course, it doesn't make sense to set the property
> of a property, and a label is just a property, not an object unto
> itself. Since the combo button uses labels instead of containing text
> (like fields), some of the properties such as the textAlign don't
> seem to apply. It wouldn't make sense to say "set the textAlign of
> the label of button myButton", right?
> Thanks...
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the Use-livecode mailing list