summaryrefslogtreecommitdiff
path: root/panels/mouse
diff options
context:
space:
mode:
authorChristopher Davis <christopherdavis@gnome.org>2022-01-15 00:55:23 -0800
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-01-18 09:51:01 +0000
commitd99269182dd373c70b219416b6c8a43ae8d99a94 (patch)
treedc163ef9d208734c7ec2342bf70223c123781189 /panels/mouse
parent891d745302f8e7c51d748f67bcad2dc023d78449 (diff)
downloadgnome-control-center-d99269182dd373c70b219416b6c8a43ae8d99a94.tar.gz
mouse: Remove useless GtkGrid
Also move the margins to the box itself and remove the horizontal margins.
Diffstat (limited to 'panels/mouse')
-rw-r--r--panels/mouse/cc-mouse-panel.ui44
1 files changed, 18 insertions, 26 deletions
diff --git a/panels/mouse/cc-mouse-panel.ui b/panels/mouse/cc-mouse-panel.ui
index 6290917da..08dd8b3e9 100644
--- a/panels/mouse/cc-mouse-panel.ui
+++ b/panels/mouse/cc-mouse-panel.ui
@@ -21,35 +21,27 @@
<property name="subtitle" translatable="yes">Sets the order of physical buttons on mice and touchpads.</property>
<property name="subtitle-lines">0</property>
<child>
- <object class="GtkGrid">
- <property name="row_spacing">2</property>
- <property name="column_spacing">16</property>
- <property name="margin_start">20</property>
- <property name="margin_end">20</property>
+ <object class="GtkBox" id="primary_button_box">
+ <property name="valign">center</property>
+ <property name="homogeneous">True</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
+ <style>
+ <class name="linked"/>
+ </style>
+ <child>
+ <object class="GtkToggleButton" id="primary_button_left">
+ <property name="hexpand">True</property>
+ <property name="label" translatable="yes">Left</property>
+ <property name="height_request">35</property>
+ </object>
+ </child>
<child>
- <object class="GtkBox" id="primary_button_box">
- <property name="valign">center</property>
- <property name="homogeneous">True</property>
- <style>
- <class name="linked"/>
- </style>
- <child>
- <object class="GtkToggleButton" id="primary_button_left">
- <property name="hexpand">True</property>
- <property name="label" translatable="yes">Left</property>
- <property name="height_request">35</property>
- </object>
- </child>
- <child>
- <object class="GtkToggleButton" id="primary_button_right">
- <property name="hexpand">True</property>
- <property name="label" translatable="yes">Right</property>
- <property name="group">primary_button_left</property>
- <property name="height_request">35</property>
- </object>
- </child>
+ <object class="GtkToggleButton" id="primary_button_right">
+ <property name="hexpand">True</property>
+ <property name="label" translatable="yes">Right</property>
+ <property name="group">primary_button_left</property>
+ <property name="height_request">35</property>
</object>
</child>
</object>