What font is that?

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
RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

What font is that?

Post by RossG » Mon May 09, 2016 1:47 am

I set the font for a stack but when I create a button or label
the font fields in the Inspector aren't populated.

Can I set a default font to fix this?
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: What font is that?

Post by Simon » Mon May 09, 2016 5:12 am

Hi Ross,
The text formatting Font of buttons / fields should remain blank unless you want to assign a specific font other then the one you set in the stack inspector.
Just in case I misunderstood your question, is there a reason why you'd like it to populate with the stack's font?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Re: What font is that?

Post by RossG » Mon May 09, 2016 5:28 am

Simon

Sometimes I don't want the default font
so I have to scroll down a long way to
"Tahoma" and put in the font size etc.

Would be much simpler and quicker if
these fields were populated.
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: What font is that?

Post by Simon » Mon May 09, 2016 5:39 am

Hi,
You could just type Tahoma in... no scroll.
But in the end I don't have a solution that fits your request. Well there is programmatically;

Code: Select all

set the textfont of btn 1 to "Courier"
Then is shows up in the inspector.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Re: What font is that?

Post by RossG » Sun May 15, 2016 1:10 am

This seems to have been "fixed" in LC8, although
the font used in the Inspector is italic even though
it's not set to italic!!!
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

Post Reply