mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
appDisplay: Set 3x3 grid mode for folders
Folders have a fixed 3x3 grid, given that folders themselves have a fixed size. Make the code correspond to this invariant. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
This commit is contained in:
parent
083a691a74
commit
113130552f
1 changed files with 7 additions and 0 deletions
|
|
@ -1974,6 +1974,13 @@ class FolderGrid extends IconGrid.IconGrid {
|
|||
page_halign: Clutter.ActorAlign.CENTER,
|
||||
page_valign: Clutter.ActorAlign.CENTER,
|
||||
});
|
||||
|
||||
this.setGridModes([
|
||||
{
|
||||
rows: 3,
|
||||
columns: 3,
|
||||
},
|
||||
]);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue