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

oops
This commit is contained in:
outfoxxed 2025-06-06 21:17:36 -07:00
parent aa547bad84
commit 6b3d64e32a
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E

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;
}
});
}