Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Resize text in nodes and links (Read 2264 times)
Ngo Duc Quang
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Location: Ha Noi
Joined: Jun 10th, 2019
Resize text in nodes and links
Jun 10th, 2019 at 10:58am
Print Post  
I want to resize text in nodes and link.
Help me please!!!  Cry Cry Cry
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3340
Joined: Oct 19th, 2005
Re: Resize text in nodes and links
Reply #1 - Jun 10th, 2019 at 11:09am
Print Post  
Set the Font property with the text size you need -

Code
Select All
import com.mindfusion.drawing.Font;
...
startNode.setFont(new Font("Arial", Typeface.BOLD, 4));
 



Regards,
Slavcho
  
Back to top
 
IP Logged
 
Ngo Duc Quang
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Location: Ha Noi
Joined: Jun 10th, 2019
Re: Resize text in nodes and links
Reply #2 - Jun 11th, 2019 at 2:56am
Print Post  
thank you very much  Grin Grin
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint