[osg-users] RTF Widget

Sam Jones cambienta at gmail.com
Mon Jul 18 10:10:58 PDT 2016


Am I understanding correctly, that OSG labels/widgets do not support rich text? Or am I missing something? (By rich text I mean switching styles in the middle of a string; I know that the labels support different colors and styles, but only applied to the whole string as far as I can tell).

What I'm currently doing is using a wxWidgets-based dialog box to take rich input and then display it in an OSG label. This all works fine with plain text, and I can get rich text into the input box, but style is lost in the conversion. I haven't found anything in the docs on this, but I might not be looking in the right place. 

If this is the case, does anyone have a pointer as to how they achieved the same thing? If not, I'll figure something out and post the solution I come up with :) 


Read this topic online here:

More information about the osg-users mailing list