[Gtk-sharp-list] Superscript in TextView

Daniel Hughes trampster at gmail.com
Thu Mar 14 21:47:55 UTC 2013


I have tried setting RiseSet to true, both before and after setting Rise.

It doesn't help.

On Fri, Mar 15, 2013 at 1:47 AM, Marcelo Belentani de Bianchi
<marcelobianchi at mail.com> wrote:
> 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>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list


More information about the Gtk-sharp-list mailing list