Unsolved QT Widget Tab Does Not Expand
I have desktop design which looks like below.
The object layout is shown below.
The issue occurs when I maximize the application. Then my widgets in the Tab does not expand. Please see the image below.
As you can see above, the tab did not maximize. Any idea what I am doing wrong here?
I think you have to put tabWidget in a layout as well.
Hi Thanks for the reply. Do you mean instead of "frame" vertical layout?
You have two options:
- add a layout to your "frame" and put your QTabWidget in it
remove "frame" altogether as it does not seem to serve a purpose beside containing your QTabWidget (unless there's an esthetic side that I missed in which case, use the option above).
@mpergand you're correct, I was focused on the layout issue and missed that. Thanks !
The issue was due to the fact that the maximum width had changed to a smaller value. As a result when I maximize the tab did not maximize to full screen.