[vlc-commits] Qt: sprefs, unformize icon sizes

Jean-Baptiste Kempf git at videolan.org
Wed May 21 16:44:55 CEST 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed May 21 16:43:48 2014 +0200| [e0a9173abb9e0948fea730ea2d4ec92783366538] | committer: Jean-Baptiste Kempf

Qt: sprefs, unformize icon sizes

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e0a9173abb9e0948fea730ea2d4ec92783366538
---

 modules/gui/qt4/components/simple_preferences.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 01e1b7a..1432f33 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -258,8 +258,7 @@ SPrefsCatList::SPrefsCatList( intf_thread_t *_p_intf, QWidget *_parent ) :
     button->setText( label );                                               \
     button->setToolTip( ltooltip );                                         \
     button->setToolButtonStyle( Qt::ToolButtonTextUnderIcon );              \
-    button->setIconSize( QSize( icon_height, icon_height ) );               \
-    button->resize( icon_height + 6 , icon_height + 6 );                    \
+    button->setIconSize( QSize( icon_height + 40 , icon_height ) );         \
     button->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred        ); \
     button->setAutoRaise( true );                                           \
     button->setCheckable( true );                                           \



More information about the vlc-commits mailing list