Author Topic: How can I increase CB GUI font sizes?  (Read 2924 times)

Offline c5ace

  • Single posting newcomer
  • *
  • Posts: 8
How can I increase CB GUI font sizes?
« on: February 27, 2020, 04:26:18 am »
Have been using Code::Blocks for several years.

I upgraded my 22" monitor with 1920x1080 to a 33" monitor with 2560x1440 resolution. Now the text on the CB GUI are so small the are nearly unreadable. See the screenshots.

http://www.linux.c5ace.com/CB_start_window.png
http://www.linux.c5ace.com/CB_work_window.png

Can't find anywhere in the menus to change the size of texts displayed in the various buttons and main startup window. How can I increase the displayed text sizes? 
Settings -> Editor -> Editor Settings -> Font works fine.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How can I increase CB GUI font sizes?
« Reply #1 on: February 27, 2020, 09:05:06 am »
You have to use a gtk-theming tool to change the font used by GTK. What is the wxgtk version you're using? Does it use gtk2 or gtk3?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline c5ace

  • Single posting newcomer
  • *
  • Posts: 8
Re: How can I increase CB GUI font sizes?
« Reply #2 on: February 28, 2020, 03:55:38 am »
You have to use a gtk-theming tool to change the font used by GTK. What is the wxgtk version you're using? Does it use gtk2 or gtk3?
I use the Awaita Theme. Changing the font size only affects the Menu Bar. (File, Edit, View, ...) and the drop down menus.

The wxgtk version used is gtk3.

GENTOO:
x11-libs/wxGTK

GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit
https://wxwidgets.org/

Installed versions:
   Slot 3.0: 3.0.4-r2 (used by FileZilla)
   Slot 3.0-gtk3: 3.0.4-r302 (used by Code::Blocks)

Available versions for amd64:
   Slot 3.0: 3.0.4-r2
   Slot 3.0-gtk3: 3.0.4-r302

Which is the currently recommend Linux Desktop for use with Code::Blocks 17.2?
Which Linux OS and Desktop do you use for testing?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How can I increase CB GUI font sizes?
« Reply #3 on: February 28, 2020, 08:59:19 am »
I use gentoo with a custom ebuild which still uses the gtk2 variant. The gtk3 variant is not tested much... I plan to switch to it but it will take some time...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How can I increase CB GUI font sizes?
« Reply #4 on: February 28, 2020, 09:01:48 am »
BTW, I'm on 27" 4k monitor and I have to use GDK_DPI_SCALE=1.5 to make the fonts look good. Unfortunately GTK/gnome people don't think there are monitors which require fractional scales...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]