High DPI:

* remove ParentFont flag from forms again (introduced in 9cdcd631454f6f9e999893ea89fcf502d994474c for #213). This just inherits from default Windows settings.
* instead, scale font size in InheritFont(), and move that to the new TExtForm class
* mark app with PerMonitorV2 support
This commit is contained in:
Ansgar Becker
2019-07-17 21:59:18 +02:00
parent 2dfb11879d
commit 92c8f62b85
50 changed files with 218 additions and 103 deletions

View File

@ -9,7 +9,7 @@ uses
dbconnection, gnugettext;
type
TfrmSQLhelp = class(TFormWithSizeGrip)
TfrmSQLhelp = class(TExtForm)
URIOpenerDescription: TSynURIOpener;
URIHighlighter: TSynURISyn;
URIOpenerExample: TSynURIOpener;
@ -94,6 +94,7 @@ begin
Caption := DEFAULT_WINDOW_CAPTION;
FixVT(treeTopics);
TranslateComponent(Self);
AddSizeGrip;
treeTopics.Clear;
FreeAndNil(FRootTopics);