Widget Size when programm starts, how can I affect the size without setting max or min?
-
Hi! Please provide a screenshot, diagram or code.
-
I found the setStretchFactor method or setStreched. It is just possible with layouts, not with widgets itself. But it does not work properly. The stretch factor 1 is enough to change the upper widget to the super big size and the lower widget to the super small size. It is really confusing.
Does somebody used it before and can give me some advice, maybe I forgot a declaration when setting the widget?@Wieland thanks for your comment, I dont have code for that, maybe thats the problem, I did it with qt designer.