[Lazarus] Changing default font size for all controls

zeljko zeljko at holobit.net
Sun Jan 20 09:06:25 CET 2013


On Saturday 19 of January 2013 22:39:40 Krzysztof wrote:
> Hi,
> 
> 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
> application?

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).

z.




More information about the Lazarus mailing list