keep the textsize of a control "option menu" in a background

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
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

keep the textsize of a control "option menu" in a background

Post by jmburnod » Tue May 10, 2011 8:47 am

Hi All,

I have a background with an "option menu" control. This bg is in 2 cds but the textsize of the label is not the same.
(I thought LC do it automaticaly if the control is in a bg)
I must do it manualy of what i forget ?

Jean-Marc
https://alternatic.ch

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: keep the textsize of a control "option menu" in a background

Post by Klaus » Tue May 10, 2011 12:39 pm

Hi Jean-Marc,

if your backgroud group does NOT have its textsize set,
then the textsize of the current card (or another surrounding group)
will be used.

So set the textsizes of your two card to the same value or
simply set a textsize for the background group to fix this.


Best

Klaus

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: keep the textsize of a control "option menu" in a background

Post by jmburnod » Tue May 10, 2011 5:08 pm

Hi klaus,

Thanks one more for your help, it is so clear now :D

Best from geneva

Jean-Marc
https://alternatic.ch

Post Reply