summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-11-05 15:05:56 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-11-05 15:05:56 +0000
commita86c82aa5b3aea8a4cb40a9fa1121427bf320bfd (patch)
tree97bc07cf0e2fa17546f4b352a3587df7ee7feeb9 /src/corelib
parent2da5c00abfea780c0f375d6f1646f4d15ca98256 (diff)
downloadfpGUI-a86c82aa5b3aea8a4cb40a9fa1121427bf320bfd.tar.xz
* More improvements to Calendar component.
* Lots of refactoring in the text Edit component. * Added a new property BorderStyle to the Edit component.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/gfx_popupwindow.pas4
1 files changed, 2 insertions, 2 deletions
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;