[gnome-software/1166-repository-dialog-design-updates: 39/39] gs-repos-dialog: Improve layout and make other UI tweaks




commit 4c8e9d22dee0a3c097c3d5cd29113ed38bdac0e8
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Mon Aug 2 14:32:54 2021 +0200

    gs-repos-dialog: Improve layout and make other UI tweaks

 src/gs-repo-row.ui     | 9 +++++++--
 src/gs-repos-dialog.ui | 2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-repo-row.ui b/src/gs-repo-row.ui
index 86deee91c..509f75a81 100644
--- a/src/gs-repo-row.ui
+++ b/src/gs-repo-row.ui
@@ -6,15 +6,16 @@
     <child>
       <object class="GtkGrid">
         <property name="visible">True</property>
-        <property name="margin">16</property>
+        <property name="margin">12</property>
         <property name="row-spacing">6</property>
-        <property name="column-spacing">4</property>
+        <property name="column-spacing">12</property>
         <child>
           <object class="GtkLabel" id="name_label">
             <property name="visible">True</property>
             <property name="halign">start</property>
             <property name="hexpand">True</property>
             <property name="ellipsize">end</property>
+            <property name="xalign">0</property>
           </object>
           <packing>
             <property name="left-attach">0</property>
@@ -29,6 +30,7 @@
             <property name="halign">start</property>
             <property name="hexpand">True</property>
             <property name="ellipsize">end</property>
+            <property name="xalign">0</property>
             <attributes>
               <attribute name="scale" value="0.8"/>
             </attributes>
@@ -46,6 +48,9 @@
             <property name="halign">start</property>
             <property name="hexpand">True</property>
             <property name="ellipsize">end</property>
+            <property name="xalign">0</property>
+            <property name="wrap">True</property>
+            <property name="lines">2</property>
             <attributes>
               <attribute name="scale" value="0.8"/>
             </attributes>
diff --git a/src/gs-repos-dialog.ui b/src/gs-repos-dialog.ui
index b3b34efde..2bd2b5283 100644
--- a/src/gs-repos-dialog.ui
+++ b/src/gs-repos-dialog.ui
@@ -70,7 +70,7 @@
                     <property name="visible">True</property>
                     <property name="justify">center</property>
                     <property name="wrap">True</property>
-                    <property name="label" translatable="yes">No Additional Repositories</property>
+                    <property name="label" translatable="yes">No Repositories</property>
                     <property name="max_width_chars">40</property>
                     <property name="halign">center</property>
                     <property name="valign">center</property>


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