Also print the widget geometry if it's different from the item
This commit is contained in:
@@ -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;");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user