svx/source/tbxctrls/tbcontrl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e6ea3fad96b693007964aafc34405665156b0815
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Fri Oct 3 06:16:42 2014 +0200

    styles dropdown: Show only the triangle for the dropdown.
    
    The entire button appears on mouse over.
    
    Change-Id: I27e713f75a30ec4a2b271d813fcbcbe8c91a4180

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 669d985..193d9ad 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);
                         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to