On Sun, 20 Jan 2013, zeljko wrote:

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

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 ?

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to