Also print the widget geometry if it's different from the item

This commit is contained in:
Sergio Martins
2020-05-22 15:56:02 +01:00
parent 0c776b6595
commit 986a25971e

View File

@@ -657,6 +657,12 @@ void Item::dumpLayout(int level)
if (!isVisible())
dbg << QStringLiteral(";hidden;");
if (auto w = widget()) {
if (geometry() != w->geometry()) {
dbg << "; guest geometry=" << w->geometry();
}
}
if (m_sizingInfo.isBeingInserted)
dbg << QStringLiteral(";beingInserted;");