Re: Text justification in a tree view



On Wed, 2002-10-09 at 17:18, David Goncalves wrote:
Hi,

Someone knows how can i justify the text in a tree view ?

i.e : I have a 3 columned tree and i want that the text in
        the last one be right justified.



When setting up the columns, apply the following property:

  g_object_set (G_OBJECT (renderer), "xalign", 0.0, NULL);

where renderer is the cell renderer and the alignment value is between 0
and 1.

Regards,

Martyn


Thanks.


--
David

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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