On Tue, 25 Jul 2006 14:46:19 +0800 "chao yeaj" <[EMAIL PROTECTED]> wrote:
> Hello everyone > > You knowe ,there is a function called > gtk_label_set_justify(),which used to modify the label's text'sjustify > mode > > my code as follow > GtkWidget *label = NULL; > gtk_label_new(" I am label!"); > gtk_label_set_justify(GTK_LABEL(label),GTK_JUSTIFY_FILL); > > but ,this do not work, Why ? According to the manual: If you instead want to set the alignment of the label as a whole, use gtk_misc_set_alignment() instead. gtk_label_set_justify() has no effect on labels containing only a single line. > I need your help > Any comments would be much appreciated,and thanks in advance ! > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list