And another TreeView problem, should've used qt ;)
I have a TreeView in which I use the following function to render text:
private void RenderEntryValue (Gtk.TreeViewColumn column, Gtk.CellRenderer cell, Gtk.TreeModel model, Gtk.TreeIter iter)
{
(cell as Gtk.CellRendererText).Markup = "" + someMarkupText;
(cell as Gtk.CellRendererText).Alignment = Pango.Alignment.Center;
}
As you might have guessed from the Subject, this does not work. The text remains left-aligned. Any ideas how to make it work, other than adding spaces to the left of it?
There is no other place in the code which would do anything to the TreeView other than adding and feining the columns. And nowhere in there an Alignment is set.