summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-10-03 06:16:42 +0200
committerJan Holesovsky <kendy@collabora.com>2014-10-03 06:19:12 +0200
commite6ea3fad96b693007964aafc34405665156b0815 (patch)
treef940a5695970d24f8acf93c2ca500d6d48e9d169 /svx
parent8cd605901532c9408422059bb94e35f92088b18e (diff)
styles dropdown: Show only the triangle for the dropdown.
The entire button appears on mouse over. Change-Id: I27e713f75a30ec4a2b271d813fcbcbe8c91a4180
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 669d9855ff67..193d9ad11bf9 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -711,7 +711,7 @@ void SvxStyleBox_Impl::UserDraw( const UserDrawEvent& rUDEvt )
{
if(m_pButtons[nId] == NULL)
{
- m_pButtons[nId] = new MenuButton((Window*)pDevice);
+ m_pButtons[nId] = new MenuButton((Window*)pDevice, WB_FLATBUTTON);
m_pButtons[nId]->SetSizePixel(Size(20, aRect.GetSize().Height()));
m_pButtons[nId]->SetPopupMenu(&m_aMenu);
}