mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Make oultliner icons same size as the toolbar icons
Part of bug #10125
(cherry picked from commit f56ee1875c
)
This commit is contained in:
parent
46133b26be
commit
7d759dccbb
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user