From a86c82aa5b3aea8a4cb40a9fa1121427bf320bfd Mon Sep 17 00:00:00 2001 From: graemeg Date: Mon, 5 Nov 2007 15:05:56 +0000 Subject: * More improvements to Calendar component. * Lots of refactoring in the text Edit component. * Added a new property BorderStyle to the Edit component. --- src/corelib/gfx_popupwindow.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/corelib') diff --git a/src/corelib/gfx_popupwindow.pas b/src/corelib/gfx_popupwindow.pas index 3450b63d..64713c27 100644 --- a/src/corelib/gfx_popupwindow.pas +++ b/src/corelib/gfx_popupwindow.pas @@ -227,7 +227,7 @@ begin // Width := Width + 1; // Height := Height + 1; // UpdateWindowPosition; - HandleResize(Width+1, Height+1); + HandleResize(Width+2, Height+2); UpdateWindowPosition; for i := 0 to ComponentCount-1 do @@ -235,7 +235,7 @@ begin if Components[i] is TfpgWidget then TfpgWidget(Components[i]).Anchors := [anLeft, anTop]; end; - HandleResize(Width+1, Height+1); + HandleResize(Width+2, Height+2); UpdateWindowPosition; Canvas.BeginDraw; -- cgit v1.2.3-70-g09d2