core/proxywindow: notify for width/height changes after connect

Previously the content item would resize but w/h wouldn't be updated.
This commit is contained in:
outfoxxed 2024-11-22 15:39:39 -08:00
parent 5301227ec1
commit f0aca2030e
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -154,9 +154,11 @@ void ProxyWindowBase::completeWindow() {
this->setColor(this->mColor);
this->updateMask();
// notify initial x and y positions
// notify initial / post-connection geometry
emit this->xChanged();
emit this->yChanged();
emit this->widthChanged();
emit this->heightChanged();
this->mContentItem->setParentItem(this->window->contentItem());
this->mContentItem->setWidth(this->width());