I have one vertical layout. Which contains two horizontal layouts.This vertical layout is set to a widget and this widget is assigned to the central widget.Now I want to show the horizontal layouts which are in vertical layout as 40% and 60% division. That means, assume vl is vertical layout and hl1 and hl2 are the horizontal layout. I want to assign 60% of the area for hl1 and 40% of the area for hl2.
How can do this one?
Did you try with Stretch factors ?
This should work perfectly for your problem.
@dheerendra I had tried with setstretch , but that is not working.
But which you have given is working fine. Thanks
cool. You can make this issue to 'resolved' now.