summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/dataview.cxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2002-05-22 13:02:12 +0000
committerFrank Schönheit <fs@openoffice.org>2002-05-22 13:02:12 +0000
commit9979afd223a91cfb501ed5471d6bfa33a23545c5 (patch)
tree43c6a03ff080c022eeec265ab90f771f5bc89f3e /dbaccess/source/ui/browser/dataview.cxx
parent9bc104f0c0e663e890ba578e67ac6310b739af32 (diff)
during #99030#: make our tooboxes consistent with the rest of the office, means give them some space (2 pixels above and below)
Diffstat (limited to 'dbaccess/source/ui/browser/dataview.cxx')
-rw-r--r--dbaccess/source/ui/browser/dataview.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/dbaccess/source/ui/browser/dataview.cxx b/dbaccess/source/ui/browser/dataview.cxx
index 0923e946b785..33dac049db43 100644
--- a/dbaccess/source/ui/browser/dataview.cxx
+++ b/dbaccess/source/ui/browser/dataview.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dataview.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: oj $ $Date: 2002-04-29 08:39:01 $
+ * last change: $Author: fs $ $Date: 2002-05-22 14:02:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -233,12 +233,14 @@ namespace dbaui
// position the tool box
if ( getToolBox() )
{
- getToolBox()->SetPosPixel( aPlayground.TopLeft() );
+ ::Point aToolboxPos( aPlayground.TopLeft() );
+ aToolboxPos.Y() += 2;
+ getToolBox()->SetPosPixel( aToolboxPos );
- Size aToolboxSize( aPlayground.GetSize().Width(), getToolBox()->GetSizePixel().Height() );
+ ::Size aToolboxSize( aPlayground.GetSize().Width(), getToolBox()->GetSizePixel().Height() );
getToolBox()->SetSizePixel( aToolboxSize );
- aPlayground.Top() += aToolboxSize.Height();
+ aPlayground.Top() += aToolboxSize.Height() + 4;
}
// position the controls of the document's view