diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-27 21:57:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-27 21:57:26 +0100 |
commit | 26af54aa831f2e84774951a5d9e0754820a26d35 (patch) | |
tree | 6285afa4825df9dc81cdbdc920001a15670fd83b /contrib | |
parent | 9a19858602bc7c1777d76a288499812e216ca154 (diff) | |
download | anastasis-gtk-26af54aa831f2e84774951a5d9e0754820a26d35.tar.gz anastasis-gtk-26af54aa831f2e84774951a5d9e0754820a26d35.tar.bz2 anastasis-gtk-26af54aa831f2e84774951a5d9e0754820a26d35.zip |
fix rendering of challenge feedback
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/anastasis_gtk_auth_add_sms.glade | 1 | ||||
-rw-r--r-- | contrib/anastasis_gtk_challenge_template.glade | 51 |
2 files changed, 48 insertions, 4 deletions
diff --git a/contrib/anastasis_gtk_auth_add_sms.glade b/contrib/anastasis_gtk_auth_add_sms.glade index bd42f03..be8f7d0 100644 --- a/contrib/anastasis_gtk_auth_add_sms.glade +++ b/contrib/anastasis_gtk_auth_add_sms.glade @@ -141,6 +141,7 @@ code you will receive by SMS.</property> <property name="hexpand">True</property> <property name="activates-default">True</property> <property name="width-chars">24</property> + <property name="text" translatable="yes">+</property> <property name="primary-icon-stock">gtk-dialog-authentication</property> <property name="placeholder-text" translatable="yes">+41123456789</property> <property name="input-purpose">phone</property> diff --git a/contrib/anastasis_gtk_challenge_template.glade b/contrib/anastasis_gtk_challenge_template.glade index a58d5a4..2e7a9f1 100644 --- a/contrib/anastasis_gtk_challenge_template.glade +++ b/contrib/anastasis_gtk_challenge_template.glade @@ -121,12 +121,55 @@ </packing> </child> <child> - <object class="GtkLabel" id="challenge_label"> + <object class="GtkBox" id="challenge_info_box"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="halign">start</property> - <property name="valign">center</property> - <property name="label">DYNAMICALLY GENERATED</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkLabel" id="challenge_label"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="halign">start</property> + <property name="valign">center</property> + <property name="label">DYNAMICALLY GENERATED</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="hint_label"> + <property name="can-focus">False</property> + <property name="halign">start</property> + <property name="margin-start">10</property> + <property name="label">DYNAMICALLY GENERATED</property> + <attributes> + <attribute name="scale" value="0.80000000000000004"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="error_label"> + <property name="can-focus">False</property> + <property name="halign">start</property> + <property name="label">DYNAMICALLY GENERATED</property> + <attributes> + <attribute name="foreground" value="#eded33333b3b"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> </object> <packing> <property name="expand">True</property> |