Well, I am not sure about this, but I don't think it is wrong.
At least I know it would be helpful for me, and as long as word 
wrapping on the horizontal axis, constraints our text horizontally, why 
not let the user to constraint also on the vertical axis as long as he 
sets _maximumHeight && _maximumWidth > 0.0?

        Panagiotis Papadakos

On Wed, 3 Oct 2007, Robert Osfield wrote:

> 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
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to