Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Text wrap (Read 1049 times)
muthuhamid
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Feb 1st, 2009
Text wrap
Apr 14th, 2009 at 2:29pm
Print Post  
Hi
Am dynamically changing the text of the shapenode, sometime i get Longer text and sometiems shorter, so the shape node need to Expand and shrink respectively the text size.

can somebody help me in this regards?

Thanks
Hamid
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Text wrap
Reply #1 - Apr 14th, 2009 at 2:49pm
Print Post  
You could call ShapeNode.ResizeToFitText after changing the text.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint