Mercurial > hg > octave-nkf
changeset 18234: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 | af8a70d6885c |
children | e42d4f152766 |
files | libgui/src/qtinfo/webinfo.cc |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/qtinfo/webinfo.cc +++ b/libgui/src/qtinfo/webinfo.cc @@ -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);