diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-09-09 15:19:40 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-09-09 15:19:40 +0000 |
commit | 1ec77d7bc9c73639c762d478f7f9b1eea8d29f00 (patch) | |
tree | 6b61ba2b809a0feb6be2b574628cbf1953d319bb /vcl | |
parent | fddffdff34feca70642196e746d9c1929d2560a8 (diff) |
INTEGRATION: CWS toolbars2 (1.28.24); FILE MERGED
2004/08/24 14:34:05 ssa 1.28.24.1: #i33202# reduce menu button triangle size
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/button.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index cd6a67e52530..7fdbcfc79272 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -2,9 +2,9 @@ * * $RCSfile: button.cxx,v $ * - * $Revision: 1.28 $ + * $Revision: 1.29 $ * - * last change: $Author: obo $ $Date: 2004-07-05 15:41:27 $ + * last change: $Author: obo $ $Date: 2004-09-09 16:19:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1131,7 +1131,7 @@ void PushButton::ImplDrawPushButtonContent( OutputDevice* pDev, ULONG nDrawFlags if ( aText.Len() && ! (ImplGetButtonState() & BUTTON_DRAW_NOTEXT) ) { // calc Symbol- and Textrect - long nSymbolSize = pDev->GetTextHeight(); + long nSymbolSize = pDev->GetTextHeight() / 2 + 1; aInRect.Right() -= 5; aInRect.Left() = aInRect.Right() - nSymbolSize; aSize.Width() -= ( 5 + nSymbolSize ); |