diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-06-14 08:37:14 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-06-14 08:37:14 +0200 |
commit | f32b2bbb065e5309398a6455e09872e83f6a4d7b (patch) | |
tree | f7bc5c3ffe8289105d2f045b491d4b5d613e3684 /vcl | |
parent | 3e0ac2a43ae9d2f3d255423637ad271dd97cdafe (diff) |
In toolbar menu, remove the downwards triangle and center the '>>'.
Diffstat (limited to 'vcl')
-rwxr-xr-x | vcl/source/window/toolbox.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 989b49627438..8ffe04c4208a 100755 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -3312,19 +3312,8 @@ void ToolBox::ImplDrawMenubutton( ToolBox *pThis, sal_Bool bHighlight ) else aRect.Left() = aRect.Right() - aRect.getWidth()/3; - if( pThis->mpData->maMenuType & TOOLBOX_MENUTYPE_CUSTOMIZE ) - ImplDrawDropdownArrow( pThis, aRect, sal_True, !pThis->mbHorz ); - if( pThis->ImplHasClippedItems() ) - { - aRect = aInnerRect; - if( pThis->mbHorz ) - aRect.Bottom() = aRect.Top() + aRect.getHeight()/3; - else - aRect.Right() = aRect.Left() + aRect.getWidth()/3; - - ImplDrawMoreIndicator( pThis, aRect, sal_True, !pThis->mbHorz ); - } + ImplDrawMoreIndicator( pThis, aInnerRect, sal_True, !pThis->mbHorz ); // store highlight state pThis->mpData->mbMenubuttonSelected = bHighlight; |