widgets/wrapper: use top/bottom margins in implicitHeight not l/r

oops
This commit is contained in:
outfoxxed committed 2025-06-06 21:20:03 -07:00
1 parent aa547bad84
commit 6b3d64e32a
1 file changed
+1 -1
+1 -1
View File
@@ -79,7 +79,7 @@ MarginWrapperManager::MarginWrapperManager(QObject* parent): WrapperManager(pare
if (this->bOverrides.value().testFlag(ImplicitHeight)) {
return this->bImplicitHeightOverride.value();
} else {
return this->bChildImplicitHeight.value() + this->bLeftMargin + this->bRightMargin;
return this->bChildImplicitHeight.value() + this->bTopMargin + this->bBottomMargin;
}
});
}