Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to wrap the text in LinkTable  cell (Read 1862 times)
Mrini
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 34
Joined: Aug 18th, 2009
How to wrap the text in LinkTable  cell
Aug 24th, 2009 at 5:25am
Print Post  
Hi,

Is there anything that can wrap the text in a LinkTable cell automatically with fix width.

Currently I have to increase the height of the row then only it wrap the text using
cell.getTextFormat().setNoWrap(false).

It should automatically increase the height.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to wrap the text in LinkTable  cell
Reply #1 - Aug 24th, 2009 at 9:59am
Print Post  
Hi,

There isn't anything tat will do that automatically at this time. For the next release we could add a TableNode.resizeToFitText overload that will keep the column widths and only resize the rows vertically. Now you might use a temporary ShapeNode and measure text height for a fixed width by calling resizeToFitText(KeepWidth) on it.

Stoyan
  
Back to top
 
IP Logged
 
Mrini
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 34
Joined: Aug 18th, 2009
Re: How to wrap the text in LinkTable  cell
Reply #2 - Aug 25th, 2009 at 12:41pm
Print Post  
Hi,

Thanks for the reply.

Its working using ShapeNode.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint