Le dimanche 19 juin 2005 à 02:23 +0200, Preben Randhol a écrit : > Hello > > I was thinking to use a label to present some text for a simple help in > my program. The problem is that if I use the "Wrap Text" and Fill > options then the label doesn't fill the width of the window. > > See this mockup: http://www.pvv.org/~randhol/label.png > > The pixmap is wider as you can see and it would be nice if the text > could match the width. > > Is there anyway to get this working? Or is there a new (2.2->) widget which is > better to use. Note GTK widgets only. I did not try it, but a call to gtk_label_set_justify should solve your problem: gtk_label_set_justify (label, GTK_JUSTIFY_FILL); _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list