Hi Panagiotis, Reviewing the code its clear that originally the code was just using the maximum width and height for word wrapping purposes, not for constraining the over extents of a region.
With you change you wish it to be used for more than word wrapping, but to clamp both the width and height. Is this correct? Robert. On 10/3/07, Panagiotis Papadakos <[EMAIL PROTECTED]> wrote: > Hi Robert. > > Setting the maximum height of osgText doen't seem to work. If the text is > big enough, it exceeds the height that I gave as input to > setMaximumHeight. So check if cursor is out of -_maximumHeight. > > Hope it's Ok. > > Regards > Panagiotis Papadakos > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
