Fixed it. Once a widget is assigned to the centralWidget, select the centralWidget and then click a layout in the bar at the top.
Qt5 Force TabWidget to resize on window size change
-
23-06-2022 - |
题
I'm new to Qt and am trying to create a GUI application that will force the QTabWidget to resize to the maximum available size when the window is resized. I've read a few pages and questions on here but can't seem to get it working. Screenshot provided.
Thanks :)
解决方案
不隶属于 StackOverflow