[fractal/fractal-next] session-verification: Make sure that all labels are wrap



commit 599e8333ead450be8137e7277975429ef29af07d
Author: Julian Sparber <julian sparber net>
Date:   Thu Nov 18 13:01:14 2021 +0100

    session-verification: Make sure that all labels are wrap
    
    Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/862

 data/resources/ui/session-verification.ui | 34 ++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)
---
diff --git a/data/resources/ui/session-verification.ui b/data/resources/ui/session-verification.ui
index 5bcb90e9..ff062c7c 100644
--- a/data/resources/ui/session-verification.ui
+++ b/data/resources/ui/session-verification.ui
@@ -47,6 +47,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Get Another Device</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                             <style>
                               <class name="title-1"/>
                             </style>
@@ -68,6 +71,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">No other devices logged into this 
account?</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                           </object>
                         </child>
                         <child>
@@ -102,6 +108,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Setup Encryption Identity</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                             <style>
                               <class name="title-1"/>
                             </style>
@@ -147,6 +156,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Verify Session</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                             <style>
                               <class name="title-1"/>
                             </style>
@@ -171,6 +183,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Can't scan QR code?</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                           </object>
                         </child>
                         <child>
@@ -204,6 +219,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Verify Session</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                             <style>
                               <class name="title-1"/>
                             </style>
@@ -275,6 +293,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Recovery</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                             <style>
                               <class name="title-1"/>
                             </style>
@@ -284,7 +305,6 @@
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Without another device you need a 
recovery passphrase or key to access your messages</property>
                             <property name="wrap">True</property>
-                            <property name="wrap">True</property>
                             <property name="wrap-mode">word-char</property>
                             <property name="justify">center</property>
                           </object>
@@ -347,6 +367,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Recovery Passphrase</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                             <style>
                               <class name="title-1"/>
                             </style>
@@ -405,6 +428,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Recovery Key</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                             <style>
                               <class name="title-1"/>
                             </style>
@@ -466,6 +492,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">Setup Complete</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                             <style>
                               <class name="title-1"/>
                             </style>
@@ -479,6 +508,9 @@
                         <child>
                           <object class="GtkLabel">
                             <property name="label" translatable="yes">This session is ready to send and 
receive secure messages</property>
+                            <property name="wrap">True</property>
+                            <property name="wrap-mode">word-char</property>
+                            <property name="justify">center</property>
                           </object>
                         </child>
                         <child>


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