QToolButton and QMainWindow::setIconSize()
-
Using Windows 7 and Qt 5.5
QMainWindow::setIconSize()
will only update aQToolButton
on aQToolBar
to around 32x32 px.
However, if I restart the program, then the icons will be the desired size.QMainWindow::setIconSize()
doesn't seem to affect aQToolButton
in aQDockWidget
.
QToolButton::setIconSize()
works...
but it would be nice if everything was updated viaQMainWindow::setIconSize()
, without needing a restart.Am I missing anything?
-
Hi,
When are you calling these functions ?