And another TreeView problem:

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?

--
View this message in context: 
http://mono.1490590.n4.nabble.com/TreeView-problem-2-Pango-Alignment-not-working-tp4461978p4461978.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to