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 :)

enter image description here

有帮助吗?

解决方案

Fixed it. Once a widget is assigned to the centralWidget, select the centralWidget and then click a layout in the bar at the top.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top