Вопрос

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.

Это было полезно?

Решение

Have you tried setting scaledContents property to True?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top