Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Box text alignment (Read 2135 times)
koosala
Full Member
***
Offline


Java Happens

Posts: 136
Joined: May 13th, 2007
Box text alignment
Nov 2nd, 2007 at 6:28am
Print Post  
Hi,

I want to display the box's text to appear aligned vertically top and horizontally centered. But the text is too close to the top border, so increasing pen thickness slightly overlaps with the text.

Is there anyway I can make the text come slightly further away from the top border (maybe change the source code?) ?

Thanks,
Praveen
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Box text alignment
Reply #1 - Nov 2nd, 2007 at 7:39am
Print Post  
Hi,

You could do that by defining a slightly smaller text area for the box shape. Use the Shape constructor that takes an "ElementTemplate[] textArea" parameter to do that.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint