From e1c454bd2197d4222433ed447303cd79bf60775e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 20 Feb 2024 13:12:43 +0100 Subject: [PATCH] userWidget: Stop expand flags from propagating Since commit 9c2da01a9, the avatar's child is expanded to account for the new St.Bin behavior. However as expand flags are propagated up, this now results in avatar actor getting unintentionally expanded in places like the end-session dialog. Stop this by explicitly setting the avatar actor to not expand. Part-of: --- js/ui/userWidget.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/userWidget.js b/js/ui/userWidget.js index 1fcde34e4..b29dfa68e 100644 --- a/js/ui/userWidget.js +++ b/js/ui/userWidget.js @@ -31,6 +31,8 @@ class Avatar extends St.Bin { reactive: params.reactive, width: params.iconSize * themeContext.scaleFactor, height: params.iconSize * themeContext.scaleFactor, + x_expand: false, + y_expand: false, }); this._iconSize = params.iconSize;