Re: Data alignment in a GtkTreeViewColumn

2005-05-19 Thread 顺珉 吴
I think you can try to use g_strchug and g_strchomp to remove all blank space in your string. David Hampton <[EMAIL PROTECTED]> 写道:I'm having problems with data alignment in a tree view column in gtk-2.4. I can get the data right aligned by either setting the xalign property on the tree column (

Re: Data alignment in a GtkTreeViewColumn

2005-05-19 Thread David Hampton
On Thu, 2005-05-19 at 16:23 -0400, David Hampton wrote: > Does anyone know if getting the data to be right aligned in a resized > column is possible? I'd appreciate any pointers. Never mind. I had overlooked the expand parameter to gtk_tree_view_column_pack_start (), thinking it was the same as

Data alignment in a GtkTreeViewColumn

2005-05-19 Thread David Hampton
I'm having problems with data alignment in a tree view column in gtk-2.4. I can get the data right aligned by either setting the xalign property on the tree column (and using a column in the model to set the alignment to 1.0) or directly setting the xalign property on the cell renderer to the valu