Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic On different-2 zoom level text displayed in component got invisible like if we increase zoom level f (Read 3181 times)
AT24
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Dec 17th, 2020
On different-2 zoom level text displayed in component got invisible like if we increase zoom level f
Jan 18th, 2021 at 8:06am
Print Post  
When we are using different zoom level with +/- option from scroll bar some time text is not visible in the component
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: On different-2 zoom level text displayed in component got invisible like if we increase zoom level f
Reply #1 - Jan 18th, 2021 at 11:06am
Print Post  
Which component of ours are you referring to?

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
AT24
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Dec 17th, 2020
Re: On different-2 zoom level text displayed in component got invisible like if we increase zoom level f
Reply #2 - Jan 19th, 2021 at 6:19am
Print Post  
We are using shapenode and creating components and while doing zoom in/out the label text missed out somewhere.
using below condition
if (ZoomFactor() < 9)
            {
               node.setFont( node.getFont().deriveFont( 50));

            }
else
{
node .setFont( node.getFont().deriveFont( 12+ (20 / ZoomFactor())));
}
  
Back to top
 
IP Logged
 
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 685
Joined: Apr 6th, 2003
Re: On different-2 zoom level text displayed in component got invisible like if we increase zoom level f
Reply #3 - Jan 19th, 2021 at 6:48am
Print Post  
This Topic was moved here from MindFusion.UI by Forum Admin.
  
Back to top
WWW  
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: On different-2 zoom level text displayed in component got invisible like if we increase zoom level f
Reply #4 - Jan 19th, 2021 at 8:49am
Print Post  
By creating components do you mean CompositeNode ones, or that's your application's name for the ShapeNodes? Seeing your font sizes do not scale exactly with zoom level, make sure you aren't setting too large font for the node size at some point. Otherwise please post the text contents, node shape and size, font name and size, zoom level with which text's not rendering.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint