Dialog titlebar font

Just starting out? Need help? Post your questions and find answers here.
dougmo52usr
User
User
Posts: 62
Joined: Mon Jul 18, 2016 6:43 pm

Dialog titlebar font

Post by dougmo52usr »

LoadFont changes the font on dialog gadgets, but the titlebar font stays the same. How do I change the titlebar font for a dialogwindow?

PureBasic 6.11 LTS (Linux - x64)
Feel the ..Pure.. Power
dougmo52usr
User
User
Posts: 62
Joined: Mon Jul 18, 2016 6:43 pm

Re: Dialog titlebar font

Post by dougmo52usr »

For my Linux distribution, I am satisfied to use "Control Center/Look and Feel/Appearance" menu item "Fonts" to select appropriate font size. In this tab I can set fonts for "Application", Document", Desktop", Window title" and "Fixed width". Although it changes fonts for other apps, I am writing software for a Kiosk GUI, and customer readability is the key concern.

RELEASE=21.3
CODENAME=virginia
EDITION="MATE"
DESCRIPTION="Linux Mint 21.3 Virginia"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=https://www.linuxmint.com/rel_virginia_whatsnew.php
RELEASE_NOTES_URL=https://www.linuxmint.com/rel_virginia.php
USER_GUIDE_URL=https://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 21.3 MATE
User avatar
mk-soft
Always Here
Always Here
Posts: 6207
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Dialog titlebar font

Post by mk-soft »

The titlebar text is managed by your operating system's window manager, and the only thing you can do as an application programmer is change the text value.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply