Re: right-justify text in GtkCellRendererText



Fabio Rotondo wrote:

Havoc Pennington wrote:

Rodrigo Moya <rodrigo gnome-db org> writes:

I haven't found anything for right-justifying the text in a
GtkCellRendererText. Is there any way? how?


Isn't there an xalign property in the GtkCellRenderer base class?
I remember something like that.

Yes, there is the xalign property.
It takes a float from 0.0 to 1.0. The lower is the value, the lefter is the label.



--
Ciao,
  Fabio
----------------------------------------------------------
NOLUG:  http://www.rotondo.it/nolug/
Advanced Foundation Classes: http://afc.sf.net
Reqtools - The Requester Library: http://reqtools.sf.net
MAME Visual Guide:  http://www.rotondo.it/~fabio/mamevg/
----------------------------------------------------------
Registered Linux User #264499 - http://counter.li.org






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