QToolButton and QMainWindow::setIconSize()
General and Desktop
3
Posts
2
Posters
2.3k
Views
2
Watching
-
Using Windows 7 and Qt 5.5
QMainWindow::setIconSize()will only update aQToolButtonon aQToolBarto around 32x32 px.
However, if I restart the program, then the icons will be the desired size.QMainWindow::setIconSize()doesn't seem to affect aQToolButtonin 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 ?