Skip to content

Commit f0aca20

Browse files
committed
core/proxywindow: notify for width/height changes after connect
Previously the content item would resize but w/h wouldn't be updated.
1 parent 5301227 commit f0aca20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/window/proxywindow.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,11 @@ void ProxyWindowBase::completeWindow() {
154154
this->setColor(this->mColor);
155155
this->updateMask();
156156

157-
// notify initial x and y positions
157+
// notify initial / post-connection geometry
158158
emit this->xChanged();
159159
emit this->yChanged();
160+
emit this->widthChanged();
161+
emit this->heightChanged();
160162

161163
this->mContentItem->setParentItem(this->window->contentItem());
162164
this->mContentItem->setWidth(this->width());

0 commit comments

Comments
 (0)