We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b62976a commit d9ca7e7Copy full SHA for d9ca7e7
Source/VirtualTrees.pas
@@ -15860,6 +15860,12 @@ procedure TBaseVirtualTree.CMHintShow(var Message: TCMHintShow);
15860
if (HitInfo.HitColumn > NoColumn) and not (csLButtonDown in ControlState) then
15861
begin
15862
HintStr := FHeader.FColumns[HitInfo.HitColumn].FHint;
15863
+ if HintStr = '' then
15864
+ with FHeader.FColumns[HitInfo.HitColumn] do
15865
+ begin
15866
+ if (2 * FMargin + CaptionWidth + 1) >= Width then
15867
+ HintStr := FCaptionText;
15868
+ end;
15869
if HintStr <> '' then
15870
ShowOwnHint := True
15871
else
0 commit comments