Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.15.14, 6.5.2
Description
The attached project ToolButtonStyleBug.zip can reproduce the bug.
1.) Build and run the program.
2.) Notice that the icon has been successfully set to size (500, 500), but the text is not displayed under the icon. At the same time, the Debug() prints the ToolButtonStyle of MainWindow 3 which means Qt::ToolButtonTextUnderIcon.
3.) To further demonstrate the bug, click the “Click me!” Button.
4.) Notice that this time, both the tool button style and the icon size are successfully modified.