From fbdd3cc1f0bb35075246e756fe49aedcfef325e6 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sun, 28 Sep 2025 10:52:06 +0200 Subject: [PATCH] Issue #2263: set MinHeight on Tree.Header through FixVT(), to fix that height when window got moved to a lower DPI screen --- source/apphelpers.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/source/apphelpers.pas b/source/apphelpers.pas index 7076610b..d72f5a12 100644 --- a/source/apphelpers.pas +++ b/source/apphelpers.pas @@ -1507,6 +1507,7 @@ begin SingleLineHeight := GetTextHeight(VT.Font) + 7; // Multiline nodes? VT.DefaultNodeHeight := SingleLineHeight * MultiLineCount; + VT.Header.MinHeight := SingleLineHeight; VT.Header.Height := SingleLineHeight; // Apply new height to multi line grid nodes Node := VT.GetFirstInitialized;