Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) CustomNode (Read 12996 times)
Silvia88
Full Member
***
Offline


I Love MindFusion!

Posts: 121
Joined: Aug 31st, 2015
Re: CustomNode
Reply #15 - Sep 23rd, 2015 at 6:37pm
Print Post  
Thank you very much Smiley
  
Back to top
 
IP Logged
 
Silvia88
Full Member
***
Offline


I Love MindFusion!

Posts: 121
Joined: Aug 31st, 2015
Re: CustomNode
Reply #16 - Sep 23rd, 2015 at 7:11pm
Print Post  
Thank you very much, I solve the problem for the text but I have another one, I want the ellipse to be smaller, is it possible or does it depend on the text?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: CustomNode
Reply #17 - Sep 23rd, 2015 at 7:47pm
Print Post  
Pass smaller values than 3 to resize methods, but then you'll have to set even larger percents for text area. Perhaps you should not use modified text region for that as users might get confused when the outside text doesn't participate in hit-testing (if you need this kind of nodes to be selectable). Instead create a large-enough transparent node to contain all the text, and custom-draw the small circle at bottom by handling drawNode event.
  
Back to top
 
IP Logged
 
Silvia88
Full Member
***
Offline


I Love MindFusion!

Posts: 121
Joined: Aug 31st, 2015
Re: CustomNode
Reply #18 - Sep 24th, 2015 at 8:33am
Print Post  
Thank you very much, now it's ok  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint