mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user