aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/util
diff options
context:
space:
mode:
authorMichel Le Bihan <michel@lebihan.pl>2021-02-17 22:57:53 +0100
committerGitHub <noreply@github.com>2021-02-17 22:57:53 +0100
commite06cc0842575ebafd92213027287a1d6bc75459e (patch)
treeb482f8f87585043c7af24c281973f920df326b55 /main/src/ui/util
parenta417cb396b18fe7ffc2a75fc640327d70793f85d (diff)
downloaddino-e06cc0842575ebafd92213027287a1d6bc75459e.tar.gz
dino-e06cc0842575ebafd92213027287a1d6bc75459e.zip
Improve IBR form handling (#990)
* Change register account dialog to show instructions Change data forms to handle title and instructions elements * Change register account dialog to show fixed fields Closes #988 * Change form switch to halign start Closes #992 * Change register account dialog to markup URLs
Diffstat (limited to 'main/src/ui/util')
-rw-r--r--main/src/ui/util/data_forms.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/util/data_forms.vala b/main/src/ui/util/data_forms.vala
index c3449a86..b36012de 100644
--- a/main/src/ui/util/data_forms.vala
+++ b/main/src/ui/util/data_forms.vala
@@ -11,7 +11,7 @@ public static Widget? get_data_form_field_widget(DataForms.DataForm.Field field)
switch (field.type_) {
case DataForms.DataForm.Type.BOOLEAN:
DataForms.DataForm.BooleanField boolean_field = field as DataForms.DataForm.BooleanField;
- Switch sw = new Switch() { active=boolean_field.value, valign=Align.CENTER, visible=true };
+ Switch sw = new Switch() { active=boolean_field.value, halign=Align.START, valign=Align.CENTER, visible=true };
sw.state_set.connect((state) => {
boolean_field.value = state;
return false;