From e667406984d6c7fd66cb3e715e8fb3f86ecb2db5 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 25 Nov 2020 18:50:02 -0300 Subject: [PATCH] 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: --- js/ui/iconGrid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index 51157a311..e3c232105 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -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,