Hello. I have QGridLayout inside of QScrollArea.
I'm trying to to add in it an image using this code:
And I get this result:Qt Code:
{ newItem->setMinimumHeight(50); newItem->setMaximumHeight(50); targetLayout->addWidget(newItem); }To copy to clipboard, switch view to plain text mode
Снимок.PNG
But I'm trying to get this result:
Снимок_.jpg
How to make the QGridLayout create columns?
Bookmarks