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 <[email protected]>:
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>
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to