mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-11-01 03:25:05 +00:00
widgets/wrapper: use top/bottom margins in implicitHeight not l/r
oops
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user