mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 18:12:05 +08:00
Restore old look of tooltips in grids and trees, like it was before the recent VirtualTree update.
This commit is contained in:
@ -1486,7 +1486,11 @@ begin
|
|||||||
VT.OnScroll := MainForm.AnyGridScroll;
|
VT.OnScroll := MainForm.AnyGridScroll;
|
||||||
VT.OnMouseWheel := MainForm.AnyGridMouseWheel;
|
VT.OnMouseWheel := MainForm.AnyGridMouseWheel;
|
||||||
VT.ShowHint := True;
|
VT.ShowHint := True;
|
||||||
VT.HintMode := hmToolTip;
|
|
||||||
|
if toVariableNodeHeight in VT.TreeOptions.MiscOptions then
|
||||||
|
VT.HintMode := hmHint // Show cell contents with linebreakds in datagrid and querygrid's
|
||||||
|
else
|
||||||
|
VT.HintMode := hmTooltip; // Just a quick tooltip for clipped nodes
|
||||||
// Apply case insensitive incremental search event
|
// Apply case insensitive incremental search event
|
||||||
if VT.IncrementalSearch <> VirtualTrees.isNone then
|
if VT.IncrementalSearch <> VirtualTrees.isNone then
|
||||||
VT.OnIncrementalSearch := Mainform.AnyGridIncrementalSearch;
|
VT.OnIncrementalSearch := Mainform.AnyGridIncrementalSearch;
|
||||||
|
Reference in New Issue
Block a user