LCL: Place a non-transparent TreeView hint further left. Issue #32462.

git-svn-id: trunk@55928 -
This commit is contained in:
juha 2017-09-26 11:27:54 +00:00
parent 1d7dfe0488
commit 835f1e78f2

View File

@ -4398,7 +4398,7 @@ begin
PHint := ClientToScreen(Point(ClientWidth, TextRect.Top-3+BorderWidth));
if PHint.X + R.Right > CurMonitor.BoundsRect.Right then
begin // No space on the right? Put it to the left side.
PLeft := ClientToScreen(Point(TextRect.Left-6, TextRect.Top));
PLeft := ClientToScreen(Point(ClientRect.Left, ClientRect.Top));
if PLeft.X >= R.Right then // enough space on left?
PHint.X := PLeft.X - R.Right;
end;