mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 03:01:07 +08:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user