Re: Subject: Treeview cell and alignment



On Tue, 2003-10-28 at 12:33:38 +0100, Manuel Op de Coul wrote:
> I wonder what's the common way of setting the alignment
> of text in a treeview column different from the default
> left alignment.
> I ask because my attempts so far weren't successful.

You need to add the "xalign" attribute to these treeview columns.  The
attribute value comes from a new model column that returns a float
between 0.0 and 1.0.  0.0 is left aligned; 1.0 is right aligned.

David

Attachment: signature.asc
Description: This is a digitally signed message part



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