Commit 5d2c1177 authored by Guido Gunther's avatar Guido Gunther
Browse files

SystemPrompt: Set grid alignment in the ui file


Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 81105775
......@@ -572,9 +572,6 @@ phosh_system_prompt_constructed (GObject *object)
G_OBJECT_CLASS (phosh_system_prompt_parent_class)->constructed (object);
gtk_widget_set_valign (priv->grid, GTK_ALIGN_CENTER);
gtk_widget_set_halign (priv->grid, GTK_ALIGN_CENTER);
g_object_bind_property (self, "message", priv->lbl_message, "label", G_BINDING_DEFAULT);
g_object_bind_property (self, "description", priv->lbl_description, "label", G_BINDING_DEFAULT);
g_object_bind_property (self, "password-visible", priv->lbl_password, "visible", G_BINDING_DEFAULT);
......
......@@ -11,8 +11,8 @@
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">10</property>
<property name="margin_right">10</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="margin_top">20</property>
<property name="margin_bottom">20</property>
<property name="row_spacing">12</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment