From 9979afd223a91cfb501ed5471d6bfa33a23545c5 Mon Sep 17 00:00:00 2001 From: Frank Schönheit Date: Wed, 22 May 2002 13:02:12 +0000 Subject: during #99030#: make our tooboxes consistent with the rest of the office, means give them some space (2 pixels above and below) --- dbaccess/source/ui/browser/dataview.cxx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'dbaccess/source/ui/browser/dataview.cxx') 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 -- cgit