You've already forked lazarus-ccr
RxDateEdit - fix popup position
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3319 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -608,7 +608,7 @@ begin
|
|||||||
ABounds := Screen.MonitorFromPoint(P).BoundsRect;
|
ABounds := Screen.MonitorFromPoint(P).BoundsRect;
|
||||||
|
|
||||||
Y := P.Y + Height;
|
Y := P.Y + Height;
|
||||||
if Y + FPopup.Height > ABounds.Right then
|
if Y + FPopup.Height > ABounds.Bottom then
|
||||||
Y := P.Y - FPopup.Height;
|
Y := P.Y - FPopup.Height;
|
||||||
case FPopupAlign of
|
case FPopupAlign of
|
||||||
epaRight:
|
epaRight:
|
||||||
|
Reference in New Issue
Block a user