Issue #2263: set MinHeight on Tree.Header through FixVT(), to fix that height when window got moved to a lower DPI screen

This commit is contained in:
Ansgar Becker
2025-09-28 10:52:06 +02:00
parent ac8542b9f9
commit fbdd3cc1f0

View File

@@ -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;