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.
2 parents 19b92b2 + d9ca7e7 commit 2d9d3f2Copy full SHA for 2d9d3f2
Source/VirtualTrees.pas
@@ -15867,6 +15867,12 @@ procedure TBaseVirtualTree.CMHintShow(var Message: TCMHintShow);
15867
if (HitInfo.HitColumn > NoColumn) and not (csLButtonDown in ControlState) then
15868
begin
15869
HintStr := FHeader.FColumns[HitInfo.HitColumn].FHint;
15870
+ if HintStr = '' then
15871
+ with FHeader.FColumns[HitInfo.HitColumn] do
15872
+ begin
15873
+ if (2 * FMargin + CaptionWidth + 1) >= Width then
15874
+ HintStr := FCaptionText;
15875
+ end;
15876
if HintStr <> '' then
15877
ShowOwnHint := True
15878
else
0 commit comments