[tepl/wip/misc: 1/2] InfoBar: call gtk_label_set_xalign() for left alignment



commit 371614a5a6fc441ed1d5c0c370e34f450c4130bb
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Jun 23 15:41:16 2017 +0200

    InfoBar: call gtk_label_set_xalign() for left alignment
    
    gtk_widget_set_halign() is not sufficient.

 tepl/tepl-info-bar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tepl/tepl-info-bar.c b/tepl/tepl-info-bar.c
index 32484a1..f30d4a2 100644
--- a/tepl/tepl-info-bar.c
+++ b/tepl/tepl-info-bar.c
@@ -379,6 +379,7 @@ tepl_info_bar_create_label (void)
 
        label = GTK_LABEL (gtk_label_new (NULL));
        gtk_widget_set_halign (GTK_WIDGET (label), GTK_ALIGN_START);
+       gtk_label_set_xalign (label, 0.0);
        gtk_label_set_line_wrap (label, TRUE);
        gtk_label_set_line_wrap_mode (label, PANGO_WRAP_WORD_CHAR);
        gtk_label_set_selectable (label, TRUE);


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