It seems that the QFrame is only resized according to the inner content, is it possible to make it resized to fit its container? I tried to set the size policy to expanding and it doesn't work.
Thanks.