[gnome-shell/gnome-3-38] iconGrid/iconGrid: Fill pages by default
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-38] iconGrid/iconGrid: Fill pages by default
- Date: Wed, 2 Dec 2020 23:03:51 +0000 (UTC)
commit dd205d9f92eaf7197330f863142eb12df0ee3a40
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>
(cherry picked from commit e667406984d6c7fd66cb3e715e8fb3f86ecb2db5)
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 e88c7faa91..3d1a5d6ede 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -1302,9 +1302,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]