I would like to dynamically add/remove labels in a gridlayout at run time. Adding them is not a problem and the main window resizes appropriately. When I then remove those labels again, the Main window doesn't shrink back, although I can manually resize the main window back to its original size.
What methods am I missing?
I have attached a sample project.
Bookmarks