RE: Why gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT) does not work?



I think it's better for you to use
gtk_misc_set_alignment(GTK_MISC(label),0,0.5);


---------------------------------------
Best Wishes!
 
Zhang Hui
---------------------------------------
-----Original Message-----
From: gtk-list-bounces gnome org [mailto:gtk-list-bounces gnome org] On
Behalf Of Ye Chao
Sent: Wednesday, December 20, 2006 8:20 PM
To: gtk-list gnome org
Subject: Why gtk_label_set_justify(GTK_LABEL(label),GTK_JUSTIFY_LEFT) does
not work?

Hello  all:
         In my application ,
         I want the label's text left align,
        So i use gtk_label_set_justify(GTK_LABEL(label),GTK_JUSTIFY_LEFT) ,
        but it does not work ,
        why?
      Thank you very much!
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list





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