[gnome-control-center/wip/cdavis/sidebar-tweaks: 5/5] cc-panel-list: Adjust margins for sidebar rows
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/cdavis/sidebar-tweaks: 5/5] cc-panel-list: Adjust margins for sidebar rows
- Date: Fri, 17 Dec 2021 21:36:55 +0000 (UTC)
commit 58e3d7873a8470afbbc23cee90c044f9d4995fd2
Author: Christopher Davis <christopherdavis gnome org>
Date: Fri Dec 17 13:32:03 2021 -0800
cc-panel-list: Adjust margins for sidebar rows
This matches the mockups and Patterns.
shell/cc-panel-list.c | 4 ++--
shell/cc-panel-list.ui | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c
index 7417f0c81..9ab6b7b80 100644
--- a/shell/cc-panel-list.c
+++ b/shell/cc-panel-list.c
@@ -287,8 +287,8 @@ row_data_new (CcPanelCategory category,
gtk_widget_set_hexpand (grid, TRUE);
gtk_widget_set_margin_top (grid, 12);
gtk_widget_set_margin_bottom (grid, 12);
- gtk_widget_set_margin_start (grid, 12);
- gtk_widget_set_margin_end (grid, 12);
+ gtk_widget_set_margin_start (grid, 6);
+ gtk_widget_set_margin_end (grid, 6);
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
/* Icon */
diff --git a/shell/cc-panel-list.ui b/shell/cc-panel-list.ui
index 896592a67..b0c380b4b 100644
--- a/shell/cc-panel-list.ui
+++ b/shell/cc-panel-list.ui
@@ -23,8 +23,8 @@
<property name="visible">False</property>
<child>
<object class="GtkBox">
- <property name="margin-start">12</property>
- <property name="margin-end">12</property>
+ <property name="margin-start">6</property>
+ <property name="margin-end">6</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="spacing">12</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]