Hi all! I was wondering if anybody could recommend how to always keep the main window (main layout) as minimal as possible for whatever it countains even if the size of its content changes.
More specifically: My window size is not pre-determined. My window (main layout) contains a QLabel. So, first the window assumes a minimal size to accomodate the QLabel and that's what I want. As the program runs, the QLabels is getting smaller. Now I want the window to automatically contract to the smallest possible size but my window retains its original size. So far it can only expand, not contract. How do I make it contract? I guess I need to somehow refresh the main window but I don't know how.
Always thankful for your ideas. eric
Bookmarks