Page 1 of 1
Change Font Size in LiveCode IDE?
Posted: Fri Feb 10, 2012 2:34 pm
by XL-Dennis
Hi,
I run LiveCode on Windows 7. The general font size of Windows and other software is larger then the font size in LiveCode. I need a certain size to be able to work in a smooth way.
Is it possible to change the font size to be identical with the standard font size in Windows?
TIA,
Dennis
Re: Change Font Size in LiveCode IDE?
Posted: Fri Feb 10, 2012 3:20 pm
by flintGA2c5a
You can. Click View -> Livecode elements UI in a list.
Then you can find everything in application browser. Look for revMenubar folder.
Re: Change Font Size in LiveCode IDE?
Posted: Fri Feb 10, 2012 4:07 pm
by XL-Dennis
Thanks for Your prompt answer and information. It will take some time before I start to think in LiveCode terms.
Anyway, I will now test it and I assume I will resolve it
Have a nice weekend,
Dennis
Re: Change Font Size in LiveCode IDE?
Posted: Fri Feb 10, 2012 5:31 pm
by FourthWorld
Most of the text attributes used throughout the IDE inherit their settings from those of the Home stack, so you can change them all in one move by running this in the Message Box:
set the textSize of stack Home to 14
There are a few exceptions that don't rely on inheritance, such as the disabled states of some buttons in the Toolbar, but at least it'll help with most objects.
Re: Change Font Size in LiveCode IDE?
Posted: Fri Feb 10, 2012 5:38 pm
by XL-Dennis
Richard,
That's excellent

It will sure cut down the time. I started out with the previously tip but stoped as I thought it must be an easier way. Next I will start to do some work in LiveCode.
Thank You very much and have a nice weekend,
Dennis
Re: Change Font Size in LiveCode IDE?
Posted: Sat Feb 11, 2012 3:47 pm
by XL-Dennis
Hi again,
When executing the following line: set the textSize of stack Home to 14
I get the following error:
Script compile error:
Error description: Expression: bad factor
What's wrong with the line?
Thanks in advance,
Dennis
Re: Change Font Size in LiveCode IDE?
Posted: Sat Feb 11, 2012 5:44 pm
by flintGA2c5a
I think Home is the wrong stack, maybe was correct in a earlier version.
Try :
set the textSize of stack revMenubar to 16. For some reason the group part doesn't change, maybe someone with more knowledge can tell us why.
Re: Change Font Size in LiveCode IDE?
Posted: Sat Feb 11, 2012 5:53 pm
by sturgis
put quotes around "home"
Seems like it work without since home is a keyword that means.. er.. stack home. But if you quote it it should work.
If you use stack "home" it affects other things too (cascade type affect) If you want JUST the menubar you can do that but again, quote it.
set the textsize of stack "revmenubar" to 16
edit: Yep, don't know why some labels change and others don't. So I second the hope that someone will chime in.