[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sfx2/uiconfig

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 26 13:30:18 UTC 2019


 sfx2/uiconfig/ui/addtargetdialog.ui |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

New commits:
commit 90edf4ac6e9760b2166a80f8c866d4e5c387b3d1
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Mon Aug 26 15:38:01 2019 +0300
Commit:     Aron Budea <aron.budea at collabora.com>
CommitDate: Mon Aug 26 15:29:16 2019 +0200

    Fix Add Target dialog layout
    
    [NO-FORWARD-PORT]
    
    Change-Id: I25f4ee46f478e628b2c05a1b0c4bd5c3fafcae02
    Reviewed-on: https://gerrit.libreoffice.org/78135
    Reviewed-by: Aron Budea <aron.budea at collabora.com>
    Tested-by: Aron Budea <aron.budea at collabora.com>

diff --git a/sfx2/uiconfig/ui/addtargetdialog.ui b/sfx2/uiconfig/ui/addtargetdialog.ui
index d4283222fb65..62125934cd30 100644
--- a/sfx2/uiconfig/ui/addtargetdialog.ui
+++ b/sfx2/uiconfig/ui/addtargetdialog.ui
@@ -3,6 +3,7 @@
 <interface domain="sw">
   <requires lib="gtk+" version="3.18"/>
   <object class="GtkDialog" id="AddTargetDialog">
+    <property name="width_request">350</property>
     <property name="can_focus">False</property>
     <property name="border_width">6</property>
     <property name="title" translatable="yes" context="addtargetdialog|AddTargetDialog">Add Target</property>
@@ -24,31 +25,33 @@
           <object class="GtkButtonBox">
             <property name="can_focus">False</property>
             <child>
-              <object class="GtkButton" id="close">
-                <property name="label">gtk-ok</property>
+              <object class="GtkButton" id="cancel">
+                <property name="label">gtk-cancel</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
+                <property name="valign">start</property>
                 <property name="use_stock">True</property>
               </object>
               <packing>
                 <property name="expand">False</property>
-                <property name="fill">True</property>
+                <property name="fill">False</property>
                 <property name="pack_type">end</property>
                 <property name="position">0</property>
               </packing>
             </child>
             <child>
-              <object class="GtkButton" id="cancel">
-                <property name="label">gtk-cancel</property>
+              <object class="GtkButton" id="close">
+                <property name="label">gtk-ok</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
+                <property name="valign">start</property>
                 <property name="use_stock">True</property>
               </object>
               <packing>
                 <property name="expand">False</property>
-                <property name="fill">True</property>
+                <property name="fill">False</property>
                 <property name="pack_type">end</property>
                 <property name="position">0</property>
               </packing>
@@ -59,11 +62,12 @@
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
+                <property name="valign">start</property>
                 <property name="use_stock">True</property>
               </object>
               <packing>
                 <property name="expand">False</property>
-                <property name="fill">True</property>
+                <property name="fill">False</property>
                 <property name="position">1</property>
                 <property name="secondary">True</property>
               </packing>
@@ -79,6 +83,7 @@
           <object class="GtkGrid">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
+            <property name="row_spacing">6</property>
             <child>
               <object class="GtkLabel" id="label_name">
                 <property name="visible">True</property>
@@ -269,8 +274,8 @@
       </object>
     </child>
     <action-widgets>
-      <action-widget response="-5">close</action-widget>
       <action-widget response="-6">cancel</action-widget>
+      <action-widget response="-5">close</action-widget>
       <action-widget response="-11">help</action-widget>
     </action-widgets>
   </object>


More information about the Libreoffice-commits mailing list