Page 1 of 1

Unable to change font

Posted: Thursday 19th October 2023 1:36pm
by jackd
Hi, I'm using Kubuntu 23.10 and have just installed Gambas from the repositories after adding the ppa. The problem is that the editor font is too small but I'm unable to change it because all the font fields in preferences are greyed out. Thanks for any help.

Re: Unable to change font

Posted: Thursday 19th October 2023 4:59pm
by BruceSteers
Possibly your main font settings (not gambas) are too small so gambas preferences controls do not show correctly.

Try increasing main desktop font sizes a bit and see if the gambas font setting then become enabled.

Or try running gambas with qt instead of gtk by running a command like this..

env GB_GUI=gb.qt5 gambas3

Qt may show font setting better.
But if a too small desktop font size causes problems with the IDE then it will also cause problems with your programs.

Re: Unable to change font

Posted: Friday 20th October 2023 6:40am
by jackd
Bruce, thanks for the suggestions. Unfortunately using the command to set the GUI to qt5 didn't help, and I would rather not change the global font settings. I think this must be a bug or a design flaw because in no other applications am I unable to change the font.

Re: Unable to change font

Posted: Friday 20th October 2023 6:55am
by thatbruce
Unfortunately using the command to set the GUI to qt5 didn't help
Unfortunately, neither does that comment. What, exactly, happened when you copied and pasted Bruce's command into a terminal?
I think this must be a bug or a design flaw because ...
No, no one else has that problem. Ergo, it is at your end.
IMO it is related to your desktop (as Bruce has already stated.) What is your desktop font?

the other bruce

Re: Unable to change font

Posted: Sunday 22nd October 2023 10:56am
by cogier
I have just installed Kubuntu 23.10 on a spare machine to try out Gambas. I have to agree with the Bruces as I had no issues at all.

Image

Re: Unable to change font

Posted: Sunday 22nd October 2023 9:01pm
by BruceSteers
jackd wrote: Thursday 19th October 2023 1:36pm Hi, I'm using Kubuntu 23.10 and have just installed Gambas from the repositories after adding the ppa. The problem is that the editor font is too small but I'm unable to change it because all the font fields in preferences are greyed out. Thanks for any help.
when you say "Greyed out" have you tried clicking the font chooser buttons to the right?

The font fields are greyed out if using the defaults. only after you use the font buttons to set a specific font do the font text boxes become non greyed.

Re: Unable to change font

Posted: Monday 23rd October 2023 8:34am
by thatbruce
(I was just about to say that.)