forked from quickshell/quickshell
widgets/wrapper: apply implicit size override on componentComplete
This commit is contained in:
parent
d872ea888d
commit
23ef14c31d
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ void MarginWrapperManager::componentComplete() {
|
||||||
if (this->mWrapper) {
|
if (this->mWrapper) {
|
||||||
this->bWrapperWidth.setBinding([this] { return this->mWrapper->bindableWidth().value(); });
|
this->bWrapperWidth.setBinding([this] { return this->mWrapper->bindableWidth().value(); });
|
||||||
this->bWrapperHeight.setBinding([this] { return this->mWrapper->bindableHeight().value(); });
|
this->bWrapperHeight.setBinding([this] { return this->mWrapper->bindableHeight().value(); });
|
||||||
|
this->setWrapperImplicitWidth();
|
||||||
|
this->setWrapperImplicitHeight();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue