문제

Why does the widgets inside a QTabWidget don't resize?

All my widgets resize except for the ones inside the tabs, even the tabs resize, but not the items inside it.

Is this because of the type of layout as I show in the figure?

enter image description here

I can's assign a layout to it. this is before and after maximizing the window.

enter image description here

enter image description here

도움이 되었습니까?

해결책

Why can't you assign a layout to it? You just have to give each tab a layout. Drag your widget into the tab. Select the tab, not the widget, click on one of the layouts in the top row of the designer. Your widget will fill the whole tab and resize nicely.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top