Well it really only increases. But also consider following:it will return 4. So the row property is not what you are expecting!Qt Code:
QGridLayout l; l.addWidget(w, 3, 0); qWarning() << l.rowCount();To copy to clipboard, switch view to plain text mode
And do you need the grid functionality because a QVBoxLayout should work like you expect it.
Bookmarks