TextFont

Tim tim11 at bellatlantic.net
Tue May 21 17:34:01 EDT 2002


On 5/20/02 3:03 PM, "Jeanne A. E. DeVoto" <jeanne at runrev.com> wrote:

> At 8:01 AM -0700 5/20/2002, Tim wrote:
>> 2. The Option Menu button
>> seems to be the only button style that does NOT retain the text formatting
>> (read: user set textFont) inside as it's menu items. Can anyone help with
>> either question?
> 
> (I'm assuming you're on a Mac)
> 
> Popup and option menus are drawn by the OS, so it sets the font used by
> menu items. You can either:
> 
> - set the lookAndFeel to "Macintosh" instead of "Appearance Manager" to
> have the engine draw the menus itself, in which case it uses the button
> font instead of the systemwide menus font; or
> 
> - use a stack menu instead of a button menu. A stack menu is an actual
> stack window that you display as a menu and which behaves like a menu.
> Creating one is a little more complicated than just entering menu items
> into the button contents and letting the engine create the menu, but it
> gives you more flexibility in layout.
> 
> --
> Jeanne A. E. DeVoto ~ jeanne at runrev.com
> Runtime Revolution Limited - The Solution for Software Development
> http://www.runrev.com/
> 
> 
It seems that setting the lookAndFeel to "Macintosh" will give you OS 9 look
even though you're on OS X. So I suppose I'll opt for the latter approach.

Thank you,
-- 
Tim




More information about the use-livecode mailing list