[gnome-software: 1/2] gs-app-translation-dialog: visual fixes




commit 0975030cba7abf5f52b9bb9ed71a864a66bcfedf
Author: Tobias Bernard <tbernard gnome org>
Date:   Fri Feb 25 13:36:32 2022 +0100

    gs-app-translation-dialog: visual fixes
    
    - More compact default size
    - Improved spacing
    - Pill button

 src/gs-app-translation-dialog.ui | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-app-translation-dialog.ui b/src/gs-app-translation-dialog.ui
index 47e6a73b8..2f925e608 100644
--- a/src/gs-app-translation-dialog.ui
+++ b/src/gs-app-translation-dialog.ui
@@ -3,6 +3,8 @@
   <requires lib="gtk+" version="3.10"/>
   <template class="GsAppTranslationDialog" parent="GsInfoWindow">
     <property name="title" translatable="yes">Translations</property>
+    <property name="default-width">480</property>
+    <property name="default-height">375</property>
     <child>
       <object class="AdwPreferencesPage">
         <child>
@@ -10,8 +12,8 @@
 
             <child>
               <object class="GtkBox">
-                <property name="margin-start">3</property>
-                <property name="margin-end">3</property>
+                <property name="margin-start">24</property>
+                <property name="margin-end">24</property>
                 <property name="orientation">vertical</property>
                 <property name="spacing">8</property>
 
@@ -81,6 +83,7 @@
                     <signal name="clicked" handler="button_clicked_cb"/>
                     <style>
                       <class name="suggested-action"/>
+                      <class name="pill"/>
                     </style>
                     <child>
                       <object class="GtkBox">
@@ -102,6 +105,7 @@
                             <property name="icon-name">external-link-symbolic</property>
                           </object>
                         </child>
+
                       </object>
                     </child>
                   </object>


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