diff options
author | António Fernandes <antoniof@gnome.org> | 2022-07-29 15:40:32 +0000 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2022-07-29 15:40:32 +0000 |
commit | 82be62db0e79b3f654511ed134d0e9a06a5ab38a (patch) | |
tree | 7cd28784d75e0025dd3dd1bdb0116db943d43917 | |
parent | 1530cd0ef41436824c79bba4d85c78979c37bc03 (diff) | |
download | nautilus-82be62db0e79b3f654511ed134d0e9a06a5ab38a.tar.gz |
grid-view: Make cell sizes homogeneous
Old grid view had a lot of "background" space, with only clicks on the icon or file name acting on items.
For the new view, we've been constraining the width and height of the item area to those required by icon, filename and captions, trying to preserve the advantages of the old icon view.
However, after design review, it's been decided the uneven sizes are undesirable.
Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2368
-rw-r--r-- | src/nautilus-grid-view.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nautilus-grid-view.c b/src/nautilus-grid-view.c index 74a80e1f5..1e8e54569 100644 --- a/src/nautilus-grid-view.c +++ b/src/nautilus-grid-view.c @@ -361,8 +361,6 @@ bind_cell (GtkSignalListItemFactory *factory, * that's why we need to complete the widget setup process here, on the * first time ::bind is emitted. */ parent = gtk_widget_get_parent (cell); - gtk_widget_set_halign (parent, GTK_ALIGN_CENTER); - gtk_widget_set_valign (parent, GTK_ALIGN_START); gtk_widget_set_margin_top (parent, 3); gtk_widget_set_margin_bottom (parent, 3); gtk_widget_set_margin_start (parent, 3); |