[gnome-shell] iconGrid/iconGrid: Fill pages by default
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] iconGrid/iconGrid: Fill pages by default
- Date: Tue, 1 Dec 2020 19:01:46 +0000 (UTC)
commit e667406984d6c7fd66cb3e715e8fb3f86ecb2db5
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Nov 25 18:50:02 2020 -0300
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>
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 51157a311c..e3c232105a 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]