From f56ee1875c9bf2665ab7377fdc3ff3ec80d9268f Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 26 Jun 2016 16:53:00 +0200 Subject: [PATCH] Make oultliner icons same size as the toolbar icons Part of bug #10125 --- src/frontends/qt4/TocWidget.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index c30d644fc0..23db10ec73 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -55,6 +55,13 @@ TocWidget::TocWidget(GuiView & gui_view, QWidget * parent) moveDownTB->setIcon(QIcon(getPixmap("images/", "outline-down", "svgz,png"))); updateTB->setIcon(QIcon(getPixmap("images/", "reload", "svgz,png"))); + QSize icon_size = gui_view.iconSize(); + moveOutTB->setIconSize(icon_size); + moveInTB->setIconSize(icon_size); + moveUpTB->setIconSize(icon_size); + moveDownTB->setIconSize(icon_size); + updateTB->setIconSize(icon_size); + // avoid flickering tocTV->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);