[gnome-sound-recorder/bilelmoussaoui/fixes: 4/12] stop using margin_right/left




commit 21600f91dcc599b630ae6ab543ebeed89e90a3a7
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Wed Sep 9 02:37:07 2020 +0200

    stop using margin_right/left

 data/ui/row.ui           | 12 ++++++------
 src/recordingsListBox.js |  4 ++--
 src/row.js               |  4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/data/ui/row.ui b/data/ui/row.ui
index 96d2fa1..5e964d0 100644
--- a/data/ui/row.ui
+++ b/data/ui/row.ui
@@ -23,8 +23,8 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="valign">center</property>
-                <property name="margin_left">12</property>
-                <property name="margin_right">12</property>
+                <property name="margin_start">12</property>
+                <property name="margin_end">12</property>
                 <property name="hexpand">True</property>
                 <child>
                   <object class="GtkLabel" id="duration">
@@ -85,8 +85,8 @@
               <object class="GtkEntry" id="entry">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
-                <property name="margin_left">12</property>
-                <property name="margin_right">12</property>
+                <property name="margin_start">12</property>
+                <property name="margin_end">12</property>
                 <property name="activates_default">True</property>
               </object>
               <packing>
@@ -134,8 +134,8 @@
                   <object class="GtkBox">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="margin_left">12</property>
-                    <property name="margin_right">12</property>
+                    <property name="margin_start">12</property>
+                    <property name="margin_end">12</property>
                     <property name="margin_top">18</property>
                     <child>
                       <object class="GtkStack" id="rightStack">
diff --git a/src/recordingsListBox.js b/src/recordingsListBox.js
index 9ec2097..879703c 100644
--- a/src/recordingsListBox.js
+++ b/src/recordingsListBox.js
@@ -11,8 +11,8 @@ var RecordingsListBox = new GObject.registerClass({
         this._player = player;
         super._init({
             valign: Gtk.Align.FILL,
-            margin_left: 8,
-            margin_right: 8,
+            margin_start: 8,
+            margin_end: 8,
             margin_top: 12,
             margin_bottom: 12,
             activate_on_single_click: true,
diff --git a/src/row.js b/src/row.js
index 8ffbd55..4b861be 100644
--- a/src/row.js
+++ b/src/row.js
@@ -41,8 +41,8 @@ var Row = GObject.registerClass({
             halign: Gtk.Align.FILL,
             margin_top: 18,
             height_request: 60,
-            margin_left: 12,
-            margin_right: 12,
+            margin_start: 12,
+            margin_end: 12,
         }, WaveType.PLAYER);
         this._waveformStack.add_named(this.waveform, 'wave');
         if (this._recording._peaks.length > 0) {


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