widgets/wrapper: update child geometry when implicit size changes

The implicit size update from a child item of a MarginWrapper
component triggers an implicit size update of the wrapper component,
but this does not necessarily result in the actual size of the wrapper
changing (e.g. when it is positioned by a layout).
This commit is contained in:
outfoxxed 2024-11-29 02:03:54 -08:00
parent cb05e9a327
commit af14a416c1
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 14 additions and 6 deletions

View file

@ -55,8 +55,8 @@ signals:
private slots:
void onChildChanged();
void onWrapperWidthChanged();
void onWrapperHeightChanged();
void updateChildX();
void updateChildY();
void onChildImplicitWidthChanged();
void onChildImplicitHeightChanged();