widgets/wrapper: apply implicit size override on componentComplete

This commit is contained in:
outfoxxed 2025-05-25 00:28:58 -07:00
parent d872ea888d
commit 23ef14c31d
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -90,6 +90,8 @@ void MarginWrapperManager::componentComplete() {
if (this->mWrapper) {
this->bWrapperWidth.setBinding([this] { return this->mWrapper->bindableWidth().value(); });
this->bWrapperHeight.setBinding([this] { return this->mWrapper->bindableHeight().value(); });
this->setWrapperImplicitWidth();
this->setWrapperImplicitHeight();
}
}