[Gtk-sharp-list] Superscript in TextView

Marcelo Belentani de Bianchi marcelobianchi at mail.com
Thu Mar 14 12:47:42 UTC 2013


Hi Daniel, 

I never try, but did you check the testTag.RiseSet = true ?

-mb

At 14 Mar 2013 10:58:53 +0000 (UTC) from Daniel Hughes <trampster at gmail.com>:
How do I make a bit of text superscript in a GTK TextView.

The docs say I should use the Rise property. However it doesn't work

var textTag = new TextTag("ss");
textTag.SizePoints = 7;
textTag.Rise = 5;

The text seems complete uneffected by any value I set on the Rise
property. The SizePoints is set in this example to prove that the
TextTag is getting applied, when I change SizePoints the text size
changes. However the Rise property does nothing.

What am I doing wrong? How do I make text superscript?
_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@<a target="_blank" href="<a target="_blank" href="lists.ximian.com">lists.ximian.com</a>"><a target="_blank" href="lists.ximian.com">lists.ximian.com</a></a>
<a target="_blank" href="<a target="_blank" href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</a>"><a target="_blank" href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</a></a>


More information about the Gtk-sharp-list mailing list