Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node Text Very Small When Dragged From Node View List (Read 1998 times)
alukes
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Jul 1st, 2011
Node Text Very Small When Dragged From Node View List
Aug 30th, 2017 at 3:59am
Print Post  
JavaScript Diagramming Version 3.0.1 Flowcharter example   

I drag a shape from the node list view and it appears styled like the other nodes already on the chart. If I add text it is extremely small and I try to make it larger with the font size control, but it has no effect. In fact no font control, such as bold, italic or underline has any effect.   

I tried making my own node list with text in each node and the text remains very small.

What should I try?

Thanks
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3378
Joined: Oct 19th, 2005
Re: Node Text Very Small When Dragged From Node View List
Reply #1 - Aug 30th, 2017 at 4:58am
Print Post  
Call node.setFont(null) from onNodeCreated handler. It seems NodeListView sets it to a small font for the nodes it hosts, and the font controls in Flowcharter example use Style objects, which have lower priority than Font.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
alukes
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Jul 1st, 2011
Re: Node Text Very Small When Dragged From Node View List
Reply #2 - Aug 31st, 2017 at 12:51pm
Print Post  
Thank took care of my problem.

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