Make oultliner icons same size as the toolbar icons

Part of bug #10125
This commit is contained in:
Enrico Forestieri 2016-06-26 16:53:00 +02:00
parent 57b69a5efd
commit f56ee1875c

View File

@ -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);