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 (
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
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