textsize
Posted: Wed Jan 02, 2013 1:34 am
It could be that I'm working on New Year's Day and my evil gnome that lives in my LiveCode program is angry...but...I can't seem to do something so simple.
I want to change the textsize of a field. It works for most of my fields - but doesn't for others.
I think the issue is that in some of the fields, I have set certain lines to bold or italic... and once I do that, any commands to set the textsize seem to be ignored.
I set a global parameters gtextsentence which switches according to the stackwidth and platform.
So
In preopen card I have:
In layout I have
It does this nicely on my laptop. But when I put it in test mode, where the gtextsentence changes to 14 - it still looks the same. If I put answer gtextsentence - it gives me 14 - but the text is still the huge 28.
Why is it doing this?
I want to change the textsize of a field. It works for most of my fields - but doesn't for others.
I think the issue is that in some of the fields, I have set certain lines to bold or italic... and once I do that, any commands to set the textsize seem to be ignored.
I set a global parameters gtextsentence which switches according to the stackwidth and platform.
So
In preopen card I have:
Code: Select all
global gtextsentence
put 28 into gtextsentence
set the textsize of field "label_tasklist" to gtextsentence
Code: Select all
set the scrollbarwidth of field "label_tasklist" to 40
set the textstyle of line 4 of field "label_tasklist" to italic
set the vis of field "label_tasklist" to true
Why is it doing this?