QDial does not expand
-
Hi
What happens if you remove the empty resizeEvent ? -
Simple check - created an empty widget, added a QDial and put it in a QGridLayout - it's expanding to the widgets size. Tested with QtDesigner and QtCreator (both Qt5.15) . So there must be something wrong on your side. Please provide a minimal, compilable example.
-
What Qt style do you use?
-
The fusion style
-
Also works fine for me with the fusion style on linux with Qt5.15. Please exactly follow my testcase to see if this works for you or not.
-
If the dial is used in a new empty project it works fine!
What I could be have broken in my project? -
@Simof said in QDial does not expand:
What I could be have broken in my project?
Reduce your project until it works, or create a testaplication and try to add your stuff until it no longer works - basic programming stuff :)