[gnome-maps/wip/mlundblad/osm-login-redesign: 3/3] osmAccountDialog: Put registration link next to login button




commit b298bfe98353c8d99cd1502cc138a03599422c08
Author: Marcus Lundblad <ml update uu se>
Date:   Wed Jul 29 23:43:29 2020 +0200

    osmAccountDialog: Put registration link next to login button
    
    Put the link to sign up next to the login button.
    Also re-phrase it to "Sign up" to get the text shorter
    especially in some translations to avoid some extra
    empty space.

 data/ui/osm-account-dialog.ui | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)
---
diff --git a/data/ui/osm-account-dialog.ui b/data/ui/osm-account-dialog.ui
index 14a312e1..8cddfeca 100644
--- a/data/ui/osm-account-dialog.ui
+++ b/data/ui/osm-account-dialog.ui
@@ -118,6 +118,20 @@ OpenStreetMap account.</property>
                         <property name="top_attach">2</property>
                       </packing>
                     </child>
+                    <child>
+                      <object class="GtkLinkButton" id="signUpLinkButton">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="label" translatable="yes">Sign up</property>
+                        <property name="uri">https://www.openstreetmap.org/user/new</property>
+                        <property name="halign">GTK_ALIGN_END</property>
+                        <property name="hexpand">True</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">1</property>
+                        <property name="top_attach">2</property>
+                      </packing>
+                    </child>
                     <child>
                       <object class="GtkButton" id="signInButton">
                         <property name="visible">True</property>
@@ -139,18 +153,7 @@ OpenStreetMap account.</property>
                     <property name="top_attach">2</property>
                   </packing>
                 </child>
-                <child>
-                  <object class="GtkLinkButton" id="signUpLinkButton">
-                    <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="label" translatable="yes">Don’t have an account?</property>
-                    <property name="uri">https://www.openstreetmap.org/user/new</property>
-                  </object>
-                  <packing>
-                    <property name="left_attach">0</property>
-                    <property name="top_attach">3</property>
-                  </packing>
-                </child>
+
                 <child>
                   <object class="GtkLabel" id="resetPasswordLabel">
                     <property name="visible">False</property>


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