Question

i have a qlabel with an image, it is inside a QGridLayout. when the form re-sizes the QGridlayout automatically resize but the qlabel with image does not stretch.

Was it helpful?

Solution

Have you tried setting scaledContents property to True?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top