Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Overview tracking rectangle leaves the Overview (Read 5105 times)
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Overview tracking rectangle leaves the Overview
Jun 6th, 2007 at 7:22am
Print Post  
It seems that when I move the Overview tracking rectangle - it can leave the overview area.

Regular rect.: http://albums.tapuz.co.il/Albums/getImage.aspa=1248443&b=0&c=1248443200766122028...
When moving it left: http://albums.tapuz.co.il/Albums/getImage.aspa=1248443&b=0&c=1248443200766122054...

Could this be related to empty border surrounding the component?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview tracking rectangle leaves the Overvie
Reply #1 - Jun 6th, 2007 at 10:30am
Print Post  
If you don't use the FitAll mode, the Overview.getPreferredSize returns FlowChart.Bounds * Overview.ScaleFactor / 100. If that rectangle does not fit in the containing frame, some parts of the overview, including the tracking rectangle, will be hidden. So you might try setting the containing JFrame size big enough to fit the overview preferred size.

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



Posts: 163
Joined: May 2nd, 2007
Re: Overview tracking rectangle leaves the Overvie
Reply #2 - Jun 6th, 2007 at 11:05am
Print Post  
Hi,

But I do use the FitAll mode:
setFitAll(true);
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview tracking rectangle leaves the Overvie
Reply #3 - Jun 6th, 2007 at 11:34am
Print Post  
Can you move the rectangle further away, or only enough for the border line to disappear? If the latter, probably the border line is drawn at the outer edge of the rectangle, which should be easy to fix.
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: Overview tracking rectangle leaves the Overvie
Reply #4 - Jun 6th, 2007 at 11:35am
Print Post  
Only the border vanishes.
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: Overview tracking rectangle leaves the Overvie
Reply #5 - Jul 1st, 2007 at 12:36pm
Print Post  
Hi,

Are there any news in this issue?

Thanks,
Yoav
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview tracking rectangle leaves the Overvie
Reply #6 - Jul 2nd, 2007 at 10:51am
Print Post  
Hi,

The only thing we can do is to draw the border as a slightly smaller rectangle, but that might make it look bad when the rectangle is very small and the pen width is larger than 1.

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