What controls the page tab label fonts?

Message boards : BOINC Manager : What controls the page tab label fonts?
Message board moderation

To post messages, you must log in.

AuthorMessage
Ian&Steve C.

Send message
Joined: 24 Dec 19
Posts: 156
United States
Message 98139 - Posted: 29 Apr 2020, 3:12:58 UTC
Last modified: 29 Apr 2020, 3:33:13 UTC

I've been playing around compiling my own BOINC Manager in Linux, and noticing some aesthetic issues in the latest versions of Ubuntu when BOINC Manager is compiled with gtk3, but they are not present when compiled with gtk2. However, I want to use gtk3 since there are issues running gtk2 applications in Ubuntu 20.04 (slow startup lag).

I already fixed one issue (excessive bold/italics in the Computing Preferences window) by making some edits in the DlgAdvPreferencesBase.cpp file. Pic for reference

The issue I'm trying to fix/edit is the page tab label fonts (sorry I don't know what its official name is), they are being set to bold for some reason. and it just doesn't look as nice. see pic for reference (click for full size):



so can anyone tell me what .cpp module (or other file maybe?) the font info for this is in?
ID: 98139 · Report as offensive
Ian&Steve C.

Send message
Joined: 24 Dec 19
Posts: 156
United States
Message 98163 - Posted: 29 Apr 2020, 19:12:45 UTC - in response to Message 98139.  
Last modified: 29 Apr 2020, 19:16:39 UTC

I guess these kinds of GUI elements are called "notebooks" in the code.

I can see where these notebook pages are being created (i think) at line 779-about 811 in the AdvancedFrame.cpp file, but I can't see anything that should be making the labels bold like this.

is there anyone more familiar with this code?
ID: 98163 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 4478
United Kingdom
Message 98164 - Posted: 29 Apr 2020, 19:27:30 UTC - in response to Message 98163.  

I'll have a look. But I doubt there's anything specifically setting the font property, especially if the only thing which has changed is the OS version. It's more likely that BOINC is simply using the default font, and the default setting has changed in wxWidgets or one of the libraries. Which doesn't narrow it down much.
ID: 98164 · Report as offensive

Message boards : BOINC Manager : What controls the page tab label fonts?

Copyright © 2021 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.