Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Small issue of DiagramView scroll bar (Read 1711 times)
Kyle Chen
Full Member
***
Offline


I Love MindFusion!

Posts: 104
Joined: Nov 29th, 2012
Small issue of DiagramView scroll bar
Aug 1st, 2013 at 2:26pm
Print Post  
Hi Stoyan,

For diagram view, I noticed if the scroll bar appears, it will cover section of diagram. I can't scroll to end of diagram bounds. Maybe the scroll range should count the width/height of scrollbar itself. Thanks.

Kyle
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Small issue of DiagramView scroll bar
Reply #1 - Aug 2nd, 2013 at 2:47pm
Print Post  
Are you sure your nodes are entirely within diagram.Bounds? This shows the node fully visible in my test project, even with scrollbars enabled:

Code
Select All
diagram.AutoResize = AutoResize.None;
diagram.DefaultShape = Shapes.Rectangle;
diagram.ShadowsStyle = ShadowsStyle.None;

var rect = diagram.Bounds;
rect.Inflate(-1, -1);
diagram.Factory.CreateShapeNode(rect); 



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


I Love MindFusion!

Posts: 104
Joined: Nov 29th, 2012
Re: Small issue of DiagramView scroll bar
Reply #2 - Aug 2nd, 2013 at 8:13pm
Print Post  
You're correct Stoyan, again!
Thank you for your patience Cool
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint