Hi All,
I have the following code:

   label =  new osgWidget::Label(iName, "123");
   label->setColor(1.0f, 0.0f, 0.0f, 1.0f);
   label->setFontColor(1.0f, 1.0f, 1.0f, 1.0f);

   window = new osgWidget::Canvas;
   window->addWidget(label);

   window->setUpdateCallback(new AnimatedUpdateCallback(this));

In my AnimatedUpdateCallback I call a label->setLabel("1234") but I cannot see 
the "4" digit. I debugged the setLabel() call and the getTextSize() is 
correctly calculated. Any idea?

Regards
Gianni

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=36689#36689





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to