TitleBar on Form Caption heigth is too big, and font is fisible, but I think too big too.
First question is I couldnt find a way to set window/form/caption font size, font weight and even font family name. We can set default font for Form, for all controls on form, but not form caption.
Also is there a way to decrease increasing height of the form caption in high dpi - so it is not as big as it is now.
This works fine in Delphi 10.2 with VCLStyles. Doesnt work with Delphi 10.3 with or without VCLStyles.
Problem with Form/Window Caption on HIGH DPI, Delphi 10.3 and VCLStyles SKIN
in VCL
Posted
New Delphi 10.3 project Applicaton - Manifest - Enable Runtime Themes, DPI Awareness Per Monitor v2 (so default)
New Delphi 10.3 project Applicaton - Manifest - Enable Runtime Themes, DPI Awareness Per Monitor v2 (so default)
MainForm has
First if we run this app on HIGH DPI we get:
Look at the caption
Look at the caption - form caption is not visible at all - font size is too big and overloads caption area.
If we add following code at the FormCreate then the main app and all other captions look weard
New Delphi 10.3 project Applicaton - Manifest - Enable Runtime Themes, DPI Awareness Per Monitor v2 (so default)
MainForm has
First if we run this app on HIGH DPI we get:
Look at the caption
Look at the caption - form caption is not visible at all - font size is too big and overloads caption area.
If we add following code at the FormCreate then the main app and all other captions look weard
enter image description here
TitleBar on Form Caption heigth is too big, and font is fisible, but I think too big too.
First question is I couldnt find a way to set window/form/caption font size, font weight and even font family name. We can set default font for Form, for all controls on form, but not form caption.
Also is there a way to decrease increasing height of the form caption in high dpi - so it is not as big as it is now.
This works fine in Delphi 10.2 with VCLStyles. Doesnt work with Delphi 10.3 with or without VCLStyles.