[gnome-text-editor] preferences: spacing and grid tweaks



commit 2fe8d70310263c94653569ed95a2c851a928efc1
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 30 20:23:02 2021 -0800

    preferences: spacing and grid tweaks

 src/editor-preferences-dialog.c  | 2 +-
 src/editor-preferences-dialog.ui | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/editor-preferences-dialog.c b/src/editor-preferences-dialog.c
index 6992d2a..cf03b8a 100644
--- a/src/editor-preferences-dialog.c
+++ b/src/editor-preferences-dialog.c
@@ -206,7 +206,7 @@ update_style_schemes (EditorPreferencesDialog *self)
           gtk_actionable_set_action_name (GTK_ACTIONABLE (preview), "app.style-scheme");
           gtk_actionable_set_action_target (GTK_ACTIONABLE (preview), "s", scheme_ids[i]);
           gtk_widget_set_hexpand (preview, TRUE);
-          gtk_grid_attach (self->scheme_group, preview, j % 3, j / 3, 1, 1);
+          gtk_grid_attach (self->scheme_group, preview, j % 4, j / 4, 1, 1);
 
           j++;
         }
diff --git a/src/editor-preferences-dialog.ui b/src/editor-preferences-dialog.ui
index 1212622..44192eb 100644
--- a/src/editor-preferences-dialog.ui
+++ b/src/editor-preferences-dialog.ui
@@ -44,8 +44,8 @@
             <child>
               <object class="GtkGrid" id="scheme_group">
                 <property name="hexpand">true</property>
-                <property name="column-spacing">9</property>
-                <property name="row-spacing">9</property>
+                <property name="column-spacing">6</property>
+                <property name="row-spacing">6</property>
               </object>
             </child>
           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]