From f0aca2030e7815726b3a99cae96dc479ba12b9b0 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 22 Nov 2024 15:39:39 -0800 Subject: [PATCH] core/proxywindow: notify for width/height changes after connect Previously the content item would resize but w/h wouldn't be updated. --- src/window/proxywindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/window/proxywindow.cpp b/src/window/proxywindow.cpp index 2a1f51d9..f3a2e6c1 100644 --- a/src/window/proxywindow.cpp +++ b/src/window/proxywindow.cpp @@ -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());