diff libgui/src/qtinfo/webinfo.cc @ 18235:0eeab61e07d8 gui-release

smaller height of tabs in the document viewer * webinfo.cc (constructor): smaller height of tabs and check for movable tabs
author Torsten <ttl@justmail.de>
date Tue, 07 Jan 2014 21:50:34 +0100
parents d03a6d272fee
children 2d5d0d86432e
line wrap: on
line diff
--- a/libgui/src/qtinfo/webinfo.cc	Tue Jan 07 13:33:39 2014 -0500
+++ b/libgui/src/qtinfo/webinfo.cc	Tue Jan 07 21:50:34 2014 +0100
@@ -57,7 +57,10 @@
   _tab_bar->setSizePolicy (QSizePolicy::Preferred,QSizePolicy::Preferred);
   _tab_bar->setExpanding (false);
   _tab_bar->setTabsClosable (true);
+#ifdef HAVE_QTABWIDGET_SETMOVABLE
   _tab_bar->setMovable (true);
+#endif
+  _tab_bar->setStyleSheet ("QTabBar::tab {max-height: 4ex; }");
   hbox_layout->addWidget (_tab_bar);
 
   _zoom_in_button = new QToolButton (this);