[osg-submissions] Small osgText fix

Robert Osfield robert.osfield at gmail.com
Wed Oct 3 15:04:28 PDT 2007


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 <papadako at csd.uoc.gr> 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
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
>


More information about the osg-submissions mailing list