commit f56ee1875c9bf2665ab7377fdc3ff3ec80d9268f Author: Enrico Forestieri <for...@lyx.org> Date: Sun Jun 26 16:53:00 2016 +0200
Make oultliner icons same size as the toolbar icons Part of bug #10125 --- src/frontends/qt4/TocWidget.cpp | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index c30d644..23db10e 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);