comparison libgui/src/m-editor/file-editor.cc @ 18216:55b8dc2ea022 gui-release

* file-editor.cc (construct): reduce the height of the tab bars
author Torsten <ttl@justmail.de>
date Sat, 04 Jan 2014 17:03:33 +0100
parents e54cfaae830b
children f227bb47314f
comparison
equal deleted inserted replaced
18215:e54cfaae830b 18216:55b8dc2ea022
872 _tab_widget = new QTabWidget (editor_widget); 872 _tab_widget = new QTabWidget (editor_widget);
873 _tab_widget->setTabsClosable (true); 873 _tab_widget->setTabsClosable (true);
874 #ifdef HAVE_QTABWIDGET_SETMOVABLE 874 #ifdef HAVE_QTABWIDGET_SETMOVABLE
875 _tab_widget->setMovable (true); 875 _tab_widget->setMovable (true);
876 #endif 876 #endif
877 _tab_widget->setStyleSheet ("QTabBar::tab {max-height: 4ex; }");
878
879
877 880
878 QAction *new_action = new QAction (QIcon (":/actions/icons/filenew.png"), 881 QAction *new_action = new QAction (QIcon (":/actions/icons/filenew.png"),
879 tr ("&New File"), _tool_bar); 882 tr ("&New File"), _tool_bar);
880 883
881 QAction *open_action = new QAction (QIcon (":/actions/icons/fileopen.png"), 884 QAction *open_action = new QAction (QIcon (":/actions/icons/fileopen.png"),