Font used in gadgets?
BlitzPlus Forums/BlitzPlus Programming/Font used in gadgets?
| ||
What determines the font used to display the text on gadgets? For example, if I type in this code: StartButton = CreateButton("Start", 100, 0, 100, 40, window)what determines the font used to write the word "Start"? Can it be changed? Is it dependent on the OS? Will it ever change? |
| ||
Here you go http://www.blitzbasic.com/bpdocs/command.php?name=SetGadgetFont&ref=gui_cat |
| ||
Thanks for clearing that up. Now what font (and size) is the standard font used if no font is loaded? |
| ||
Whatever the user has set in their Windows settings? |
| ||
Any other guesses? :) |
| ||
Microsoft Sans Serif 8? |
| ||
Trebuchet MS 10 or Tahoma 8 Check by right-clicking your desktop clicking Properties then clicking on the Appearance tab at the top and searching through there. |
| ||
9pt Segoe UI is default now I think? These can all be identified from the current theme file. Later Windows versions have severely restricted access to changing some of the settings individually. |