Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramView.setMinimumZoomSize() in 1.0.1 does not seem to be working (Read 3682 times)
Rennie
Full Member
***
Offline


I Love MindFusion!

Posts: 108
Location: Copenhagen, Denmark
Joined: Jul 17th, 2012
DiagramView.setMinimumZoomSize() in 1.0.1 does not seem to be working
Nov 13th, 2013 at 3:01am
Print Post  
For example, I set it to 22 (percent), and I verify that DiagramView.getMinimumZoomSize() returns 22, but I can still use the pinch gesture to make the diagram much smaller. For example, DiagramView.getZoomFactor() can return 15.

Is there some other option that needs to be set for this to work?

(This is where a new chm file might be helpful.)
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramView.setMinimumZoomSize() in 1.0.1 does not seem to be working
Reply #1 - Nov 13th, 2013 at 6:51am
Print Post  
Hi,

The setMinimumZoomSize parameter is size in pixels, we find that more useful because limiting by zoom level would depend too much on the diagram.Bounds size.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Rennie
Full Member
***
Offline


I Love MindFusion!

Posts: 108
Location: Copenhagen, Denmark
Joined: Jul 17th, 2012
Re: DiagramView.setMinimumZoomSize() in 1.0.1 does not seem to be working
Reply #2 - Nov 13th, 2013 at 8:54am
Print Post  
Good grief - sorry - yes, that's what it says in your announcement.

But pixels in which direction, x or y?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramView.setMinimumZoomSize() in 1.0.1 does not seem to be working
Reply #3 - Nov 13th, 2013 at 11:38am
Print Post  
It's the min. size in both directions.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint