mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3221>
This commit is contained in:
parent
d31dab77e0
commit
e1c454bd21
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue