Change Font Size in LiveCode IDE?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
XL-Dennis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 32
Joined: Fri Feb 10, 2012 2:22 pm
Contact:

Change Font Size in LiveCode IDE?

Post by XL-Dennis » Fri Feb 10, 2012 2:34 pm

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
Attachments
LC Font Size.png
------------------------------------------
Kind regards,
Dennis

flintGA2c5a
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 61
Joined: Tue Jan 24, 2012 10:35 am

Re: Change Font Size in LiveCode IDE?

Post by flintGA2c5a » Fri Feb 10, 2012 3:20 pm

You can. Click View -> Livecode elements UI in a list.

Then you can find everything in application browser. Look for revMenubar folder.

XL-Dennis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 32
Joined: Fri Feb 10, 2012 2:22 pm
Contact:

Re: Change Font Size in LiveCode IDE?

Post by XL-Dennis » Fri Feb 10, 2012 4:07 pm

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 :D

Have a nice weekend,
Dennis
------------------------------------------
Kind regards,
Dennis

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Change Font Size in LiveCode IDE?

Post by FourthWorld » Fri Feb 10, 2012 5:31 pm

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

XL-Dennis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 32
Joined: Fri Feb 10, 2012 2:22 pm
Contact:

Re: Change Font Size in LiveCode IDE?

Post by XL-Dennis » Fri Feb 10, 2012 5:38 pm

Richard,

That's excellent :D 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
------------------------------------------
Kind regards,
Dennis

XL-Dennis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 32
Joined: Fri Feb 10, 2012 2:22 pm
Contact:

Re: Change Font Size in LiveCode IDE?

Post by XL-Dennis » Sat Feb 11, 2012 3:47 pm

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
------------------------------------------
Kind regards,
Dennis

flintGA2c5a
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 61
Joined: Tue Jan 24, 2012 10:35 am

Re: Change Font Size in LiveCode IDE?

Post by flintGA2c5a » Sat Feb 11, 2012 5:44 pm

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.

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Change Font Size in LiveCode IDE?

Post by sturgis » Sat Feb 11, 2012 5:53 pm

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.

Post Reply