mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +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
|
// Resize hardcoded node height to work with different DPI settings
|
||||||
VT.BeginUpdate;
|
VT.BeginUpdate;
|
||||||
SingleLineHeight := GetTextHeight(VT.Font);
|
SingleLineHeight := GetTextHeight(VT.Font);
|
||||||
VT.DefaultNodeHeight := SingleLineHeight * MultiLineCount + 6;
|
VT.DefaultNodeHeight := SingleLineHeight * MultiLineCount + 5;
|
||||||
// The header needs slightly more height than the normal nodes
|
// The header needs slightly more height than the normal nodes
|
||||||
VT.Header.Height := Trunc(SingleLineHeight * 1.5);
|
VT.Header.Height := Trunc(SingleLineHeight * 1.5);
|
||||||
// Apply new height to multi line grid nodes
|
// Apply new height to multi line grid nodes
|
||||||
|
@ -413,6 +413,7 @@ object MainForm: TMainForm
|
|||||||
HotCursor = crHandPoint
|
HotCursor = crHandPoint
|
||||||
Images = ImageListMain
|
Images = ImageListMain
|
||||||
IncrementalSearch = isInitializedOnly
|
IncrementalSearch = isInitializedOnly
|
||||||
|
Indent = 12
|
||||||
ParentShowHint = False
|
ParentShowHint = False
|
||||||
PopupMenu = popupDB
|
PopupMenu = popupDB
|
||||||
ShowHint = True
|
ShowHint = True
|
||||||
|
Reference in New Issue
Block a user