Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic 2 questions (Read 1605 times)
pelion
Junior Member
**
Offline



Posts: 61
Joined: Nov 12th, 2006
2 questions
Nov 13th, 2006 at 10:33pm
Print Post  
Hi,

I am evaluating Flowchart for purchase, and am quite impressed at the moment. However, I do have a couple of questions

1) In a radial tree layout, is it possible for the layout engine to decide how far apart to set the spacing, so as not to have boxes hiding each other.

2) I am aligning my text (multiple lines in a box) with String Format.Near, to left justify it, however I want to pad each line with a space or two at the front, so as not to have the text butting directly against the text. When I try to do this, the box appears to be trimming this white space off automatically. Can I stop this? I have both EnableStyledText and PolyTextLayout set to true.

Thanks again
JC
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: 2 questions
Reply #1 - Nov 14th, 2006 at 5:51am
Print Post  
Hi,

Quote:
1) In a radial tree layout, is it possible for the layout engine to decide how far apart to set the spacing, so as not to have boxes hiding each other.


The radial layout ignores the size of nodes. You might try using a larger StretchFactor value - that should help if the boxes are more elongated.

Quote:
I want to pad each line with a space or two at the front, so as not to have the text butting directly against the text.


The text layout algorithm ignore white spaces. You might leave some space on the left by defining your own shape using the ShapeTemplate class, and assigning a smaller text area to the shape.

E.g. run the ShapeDesigner sample, right-click on the left-hand side box and choose "Define text area". Now drag the text area (gray rectangle) control points to make it smaller, and copy the shape definition code from the text control at the bottom of the form.

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