[nautilus/wip/antoniof/view-item-state-styling: 2/5] Revert "grid-view: Make cell sizes homogeneous"
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/view-item-state-styling: 2/5] Revert "grid-view: Make cell sizes homogeneous"
- Date: Thu, 4 Aug 2022 22:23:59 +0000 (UTC)
commit 26338a155cb52d1a41e3c73d83798666bf1b4ce7
Author: António Fernandes <antoniof gnome org>
Date: Wed Aug 3 11:01:34 2022 +0100
Revert "grid-view: Make cell sizes homogeneous"
This reverts commit 82be62db0e79b3f654511ed134d0e9a06a5ab38a.
I misunderstood that the scope of the related issue was the next
grid design, not the current one. The result was the worst of
both worlds.
src/nautilus-grid-view.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/nautilus-grid-view.c b/src/nautilus-grid-view.c
index 1e8e54569..74a80e1f5 100644
--- a/src/nautilus-grid-view.c
+++ b/src/nautilus-grid-view.c
@@ -361,6 +361,8 @@ 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]