Layout : How to make one widget 3x the rest in a vertical layout
问题 I have 3 tables (A,B and C) in a vertical layout.The size policy (Horizontal and vertical) of these 3 are set to expanding. How can I make table-A 3 times the size of B and C and always have that ratio maintained. I am doing this through QT Designer. Update: In order to test the layout stretch method. I added four QlistWidgets inside a vertical layout to a form having a horizontal layout. Here is the XML for the form <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class