From 32a5a26fe85ba177414f13d988c832d1125dd560 Mon Sep 17 00:00:00 2001 From: alexs75 Date: Tue, 15 Jul 2014 12:33:10 +0000 Subject: [PATCH] RxDateEdit - fix popup position git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3319 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/rx/trunk/tooledit.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/rx/trunk/tooledit.pas b/components/rx/trunk/tooledit.pas index b0a00a93f..53c564104 100644 --- a/components/rx/trunk/tooledit.pas +++ b/components/rx/trunk/tooledit.pas @@ -608,7 +608,7 @@ begin ABounds := Screen.MonitorFromPoint(P).BoundsRect; Y := P.Y + Height; - if Y + FPopup.Height > ABounds.Right then + if Y + FPopup.Height > ABounds.Bottom then Y := P.Y - FPopup.Height; case FPopupAlign of epaRight: