Resize a layout



  • Hello...Please go through this link.
    https://s11.postimg.org/elxhpkqbn/Screenshot_from_2016_10_18_22_57_44.png
    I want the second layout which contains pushbuttons to look smaller. It occupies approx half the width of the total window.I want it to like something similar to Vlc player(top box is video widget and below one is for the buttons).When I am resizing it won't resize and I want to be responsive.Can anyone help me in this issue?Thanks!



  • you have to set the vertical size policy of the QWidget and the QGroupBox to Expanding



  • @VRonin Thanks!! I feel stupid..



  • Don't, please! we all have been there


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.