forked from quickshell/quickshell
widgets/wrapper: use top/bottom margins in implicitHeight not l/r
oops
This commit is contained in:
parent
aa547bad84
commit
6b3d64e32a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue