[Lazarus] Changing default font size for all controls
Michael Van Canneyt
michael at freepascal.org
Sun Jan 20 11:17:42 CET 2013
On Sun, 20 Jan 2013, zeljko wrote:
> On Saturday 19 of January 2013 22:39:40 Krzysztof wrote:
>> By default controls has font size and height = 0, so size depend on OS
>> configuration. Can I change global size or height to custom value for my
> With qtlcl you have qtconfig utility where you can set default fonts for
> application (and that's probably thing you want). Sven said that we have
> ParentFont property which is ok, but I think that we can (maybe) add
> DefaultFont property to TApplication (which is default by default with size
> 0), so when that font is changed, all controls should take
> TApplication.DefaultFont as default font (if control font is default and no
> matter if ParentFont is true or false).
I think that is good except for the 'no matter if ParentFont is true or false'
If you set parentfont to 'False', it means you want it to be the font specified in the font property ?
More information about the Lazarus