mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
js: Explicitly set expand of St.Bin children
Right now, St.Bin ignores the child's expand properties, and instead expands the child if its alignment is set to FILL. This will change when we replace the custom allocation code with a layout manager, so to prepare for that, set the expand property where needed to keep the expected behavior. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3046>
This commit is contained in:
parent
ef2e96bb32
commit
b02800f8b5
6 changed files with 15 additions and 5 deletions
|
|
@ -50,6 +50,7 @@ export const UserListItem = GObject.registerClass({
|
|||
_init(user) {
|
||||
let layout = new St.BoxLayout({
|
||||
vertical: true,
|
||||
x_expand: true,
|
||||
});
|
||||
super._init({
|
||||
style_class: 'login-dialog-user-list-item',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue