Property profiles and text fonts/sizes

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
rozek
Posts: 151
Joined: Mon Jun 19, 2006 2:29 pm
Contact:

Property profiles and text fonts/sizes

Post by rozek » Tue Jun 17, 2008 6:06 am

Hello!

I have some problems with property profiles in combination with text fonts and sizes.

The idea: I would like to write a cross-platform application using property profiles for any platform-specific differences such as font names and sizes (among others, but the "others" work as expected)

Surprisingly, however, it seems that I can't define a (platform-specific) font (name) for the stack and let all cards and controls inherit this setting if I have to change the font size or style for a specific control (e.g., some controls use the bold-face variant of the standard font, others use the font in a different size)

It always seems as if I could only inherit *all* settings at once (i.e., font name, style and size together) The profile property listings list TextFont/Size/Style and /Height separately, though (which surprises me since I haven't explicitely touched TextHeight myself)

Is that true or is there a special "trick" to achieve the desired functionality?

Thanks in advance for any help!
Kind regards,

Andreas Rozek

Post Reply