On 19.01.2013 22:39, 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?

By default all controls also have ParentFont = True set. This means that they use the font settings of the topmost parent control which normally is the form. So changing the font settings of the form should be sufficient. It will not work though if you set other properties of a child control's font (e.g. bold, italic, color, etc.) directly as then ParentFont will be set to False and thus the control will not inherit the font size from it's parent control.

Regards,
Sven


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

Reply via email to