سؤال

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