[Solved] Qt Python Question on layouts & expanding
I'm trying to have my dialog expand and unexpand accordingly when pressing a pushButton like below:
I have added spacers & adjusted my layout. I also added this piece of python code:
but it seems to crash with this line of code. Anyone see any mistake with it?
I am able to do this in c++:
Code was correct. I just constructed my layout incorrectly.
(Can close thread)