Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Textarea outside Shape (Read 1520 times)
Alex
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Nov 21st, 2006
Textarea outside Shape
May 9th, 2007 at 7:43am
Print Post  
Hello again,

as in http://mindfusion.org/cgi/Forum/YaBB.pl?board=fcnet_disc;action=display;num=1175... discussed, I would like to ask another question about the text labels from boxes.

It seems to me, that the Box.Text is layouted by an algorithm to fit the shape in the Box. Is there by any chance a possibility to prevent the algorithm trying to fit the text into, let's say a circle.

Following would be awesome:

Design a shape with the according box and have an option to enable or disable this layout algorithm. The Box defines all possible places for the Box.Text. (lets say 0 for top left corner, 1 for top center and so on).

Is this possible with the current release? Or intended in some further releases?

Alex
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Textarea outside Shape
Reply #1 - May 9th, 2007 at 9:14am
Print Post  
Hello,

You can disable the PolyTextLayout property and the control will use the standard Windows/.NET text layout inside the box bounding rectangle.

Another possibility is to create a ShapeTemplate whose text-area is set to a rectangle, ignoring the outline shape. If you have a ShapeTempalte whose text area is not defined and PolyTextLayout is enabled, the control arranges the text according to the shape contour / outlines.

Stoyan
  
Back to top
 
IP Logged
 
Alex
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Nov 21st, 2006
Re: Textarea outside Shape
Reply #2 - May 11th, 2007 at 9:04am
Print Post  
Thank you Stoyo, works!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint