iconGrid/iconGrid: Fill pages by default
Use the Clutter.ActorAlign.FILL alignment by default, which expands the grid until max-row|column-spacing is hit. This was the behavior we originally wanted for the icon grid, and it's finally being realized. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1510>
This commit is contained in:
parent
4ad32ab662
commit
e667406984
@ -1310,9 +1310,9 @@ var IconGrid = GObject.registerClass({
|
||||
orientation: Clutter.Orientation.VERTICAL,
|
||||
columns_per_page: 6,
|
||||
rows_per_page: 4,
|
||||
page_halign: Clutter.ActorAlign.CENTER,
|
||||
page_halign: Clutter.ActorAlign.FILL,
|
||||
page_padding: new Clutter.Margin(),
|
||||
page_valign: Clutter.ActorAlign.CENTER,
|
||||
page_valign: Clutter.ActorAlign.FILL,
|
||||
last_row_align: Clutter.ActorAlign.START,
|
||||
column_spacing: 0,
|
||||
row_spacing: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user