[shotwell] publishing: Simplify login_welcome_pane.ui



commit 4641c0b0894c708f2dbfc6ff7a076314f4bbdc39
Author: Jens Georg <mail jensge org>
Date:   Wed Jan 23 15:37:37 2019 +0100

    publishing: Simplify login_welcome_pane.ui

 data/ui/login_welcome_pane_widget.ui | 41 ++++++++++++++++++++++--------------
 1 file changed, 25 insertions(+), 16 deletions(-)
---
diff --git a/data/ui/login_welcome_pane_widget.ui b/data/ui/login_welcome_pane_widget.ui
index afc724a0..82698f47 100644
--- a/data/ui/login_welcome_pane_widget.ui
+++ b/data/ui/login_welcome_pane_widget.ui
@@ -5,15 +5,15 @@
   <template class="PublishingUILoginWelcomePane" parent="GtkBox">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
+    <property name="margin_start">18</property>
+    <property name="margin_end">18</property>
+    <property name="margin_top">18</property>
+    <property name="margin_bottom">18</property>
     <property name="orientation">vertical</property>
-    <child>
+    <child type="center">
       <object class="GtkLabel" id="not_logged_in_label">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="margin_start">16</property>
-        <property name="margin_end">16</property>
-        <property name="margin_top">97</property>
-        <property name="margin_bottom">24</property>
         <property name="label" comments="This is a placeholder string and may be ignored.">This is populated 
from within the code;
 changes made here will not display.</property>
         <property name="wrap">True</property>
@@ -22,25 +22,34 @@ changes made here will not display.</property>
       <packing>
         <property name="expand">False</property>
         <property name="fill">True</property>
-        <property name="position">0</property>
+        <property name="position">2</property>
       </packing>
     </child>
     <child>
-      <object class="GtkButton" id="login_button">
-        <property name="label" translatable="yes">_Log in</property>
+      <object class="GtkButtonBox">
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
-        <property name="receives_default">True</property>
-        <property name="margin_start">256</property>
-        <property name="margin_end">240</property>
-        <property name="margin_top">80</property>
-        <property name="margin_bottom">16</property>
-        <property name="use_underline">True</property>
-        <property name="image_position">top</property>
+        <property name="can_focus">False</property>
+        <property name="layout_style">spread</property>
+        <child>
+          <object class="GtkButton" id="login_button">
+            <property name="label" translatable="yes">_Log in</property>
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="receives_default">True</property>
+            <property name="use_underline">True</property>
+            <property name="image_position">top</property>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
       </object>
       <packing>
         <property name="expand">False</property>
         <property name="fill">True</property>
+        <property name="pack_type">end</property>
         <property name="position">1</property>
       </packing>
     </child>


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