Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Overview Control Problem (Read 3590 times)
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Overview Control Problem
Dec 3rd, 2009 at 9:46am
Print Post  
Hi Stoyan,

I am using following code for overview window of diagram.

Code in XAML
<diagram:Overview x:Name="overview" FitAll="True" />

Code in XAML.cs
overviewWindow = new OverviewWindow();
                   overviewWindow.Owner = this;
                   overviewWindow.RenderSize = new Size(300, 300);
                   overviewWindow.Visibility = Visibility.Visible;
                   overviewWindow.Background = System.Windows.Media.Brushes.White;
                 
                                           overviewWindow.overview.Document = diagram;
                       overviewWindow.overview.Height = overviewWindow.Height;
                       overviewWindow.overview.Width = overviewWindow.Width;
                       overviewWindow.overview.HorizontalAlignment = HorizontalAlignment.Stretch;
                       overviewWindow.overview.VerticalAlignment = VerticalAlignment.Stretch;
                                           }


The above code channging Height and width of the overview  in accordance with window size.
But even if we are not changing window size , but we are changing the zoom factor of diagram , height and width of overview is also getting changed.
We want fixed size of overview irrespective of zoomfactor.

Please suggest for this.

Regards,
Anshul
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Overview Control Problem
Reply #1 - Dec 4th, 2009 at 2:06pm
Print Post  
Hi Stoyan,

Any updates on this.
We are sending you sample regarding this.

Thanks and Regards,
Anshul
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview Control Problem
Reply #2 - Dec 4th, 2009 at 3:27pm
Print Post  
It seems the overview does not allow the scale to be larger than 100%, even in FitAll mode, which would happen in your case. Our developer can't think of any particular reason why that limitation was added; we'll see if we can remove it for the next release.

Stoyan
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Overview Control Problem
Reply #3 - Dec 7th, 2009 at 2:42pm
Print Post  
Hi Stoyan,

We are facing one more problem with this.
When we resize the window which contains overview control has repaint issue.

It gets repainted slowaly , and window over window appears.

This is reproducable in the same sample which I have already sent you.

Steps:
1.Run the Application.
2.Click Overview Window Button.
3.Do Rapid Resize the overview window.

Is there any way to avoid this.

Please Suggest for this.

Thanks and Regards,
Anshul
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview Control Problem
Reply #4 - Dec 8th, 2009 at 9:52am
Print Post  
I don't think this has anything to do with the overview. You can see the same effect if you start resizing a notepad window over the buttons below the diagram.

Stoyan
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Overview Control Problem
Reply #5 - Dec 16th, 2009 at 10:38am
Print Post  
Hi Stoyan,

This is with reference to  following link.

http://mindfusion.eu/Forum/YaBB.pl?board=wpfdg_disc;action=display;num=126085564...

The Problem with overview control still persist.


Height and width of the overview should change in accordance with window size.
But even if we are not changing window size , but we are changing the zoom factor of diagram , height and width of overview is also getting changed.
We want fixed size of overview irrespective of zoomfactor.


http://mindfusion.eu/Forum/YaBB.pl?board=wpfdg_disc;action=display;num=126085564...

Please suggest for this.

Regards,
Anshul
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview Control Problem
Reply #6 - Dec 16th, 2009 at 1:04pm
Print Post  
Using the "Overview window" project you emailed us for this and references to the v2.3 assemblies, I can see only the size of the tracker rectangle change when zooming out; it shows what part of the diagram is currently visible in the scrollviewer, so its size is expected to change.

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