mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 20:00:16 +08:00
Use less indentation in db tree and less height per node in all trees. Fixes issue #2262.
This commit is contained in:
@ -1795,7 +1795,7 @@ begin
|
||||
// Resize hardcoded node height to work with different DPI settings
|
||||
VT.BeginUpdate;
|
||||
SingleLineHeight := GetTextHeight(VT.Font);
|
||||
VT.DefaultNodeHeight := SingleLineHeight * MultiLineCount + 6;
|
||||
VT.DefaultNodeHeight := SingleLineHeight * MultiLineCount + 5;
|
||||
// The header needs slightly more height than the normal nodes
|
||||
VT.Header.Height := Trunc(SingleLineHeight * 1.5);
|
||||
// Apply new height to multi line grid nodes
|
||||
|
@ -413,6 +413,7 @@ object MainForm: TMainForm
|
||||
HotCursor = crHandPoint
|
||||
Images = ImageListMain
|
||||
IncrementalSearch = isInitializedOnly
|
||||
Indent = 12
|
||||
ParentShowHint = False
|
||||
PopupMenu = popupDB
|
||||
ShowHint = True
|
||||
|
Reference in New Issue
Block a user