Skip to content

Commit 6b3d64e

Browse files
committed
widgets/wrapper: use top/bottom margins in implicitHeight not l/r
oops
1 parent aa547ba commit 6b3d64e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/marginwrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ MarginWrapperManager::MarginWrapperManager(QObject* parent): WrapperManager(pare
7979
if (this->bOverrides.value().testFlag(ImplicitHeight)) {
8080
return this->bImplicitHeightOverride.value();
8181
} else {
82-
return this->bChildImplicitHeight.value() + this->bLeftMargin + this->bRightMargin;
82+
return this->bChildImplicitHeight.value() + this->bTopMargin + this->bBottomMargin;
8383
}
8484
});
8585
}

0 commit comments

Comments
 (0)