Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic setAlignmentText to the Top? (Read 2297 times)
Florin
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Apr 2nd, 2012
setAlignmentText to the Top?
Oct 5th, 2012 at 11:35pm
Print Post  
HI,

Is it possible to set the text alignment on a node to the upper top position? From what I can see the only way to set the alignment is seTextAlignment, which supports "Far", "Near" and "Center"; these are all on horizontal plane. How about top, and bottom, is there such an option.
Can it be simulated in any way? I'd like to make a node big enough so that it looks like a panel where the Text becomes the panel title; however this title must be positioned on the top and not in the middle.
Tks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: setAlignmentText to the Top?
Reply #1 - Oct 6th, 2012 at 7:08am
Print Post  
Hi,

Call the setLineAlignment method. I think this was modeled after Alignment and LineAlignment properties of the WinForm's StringFormat class, which you set to Near/Center/Far for horizontal and vertical alignment.

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