[gtranslator: 3/15] assistant: Set align




commit 7c9d978926aa7ff3f7bf3d1ffd67da6a70cf37a9
Author: Maximiliano Sandoval R <msandova gnome org>
Date:   Wed Mar 16 10:41:35 2022 +0100

    assistant: Set align
    
    To improve look.

 src/gtr-assistant.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/gtr-assistant.c b/src/gtr-assistant.c
index 1509e649..127b90dd 100644
--- a/src/gtr-assistant.c
+++ b/src/gtr-assistant.c
@@ -248,6 +248,9 @@ create_profiles_page1 (GtrAssistant * as)
   gtk_widget_show (box);
   gtk_container_set_border_width (GTK_CONTAINER (box), 5);
 
+  gtk_widget_set_valign (box, GTK_ALIGN_CENTER);
+  gtk_widget_set_halign (box, GTK_ALIGN_CENTER);
+
   /*
    * Profile name:
    */
@@ -439,6 +442,7 @@ create_finish_page (GtrAssistant * as)
 {
   GtrAssistantPrivate *priv = gtr_assistant_get_instance_private (as);
   priv->finish_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+  gtk_widget_set_valign (priv->finish_box, GTK_ALIGN_CENTER);
   gtk_widget_show (priv->finish_box);
 
   priv->confirm_label = gtk_label_new (NULL);


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