Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramPage's alignment within Viewport (Read 1212 times)
GregC
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Jan 16th, 2014
DiagramPage's alignment within Viewport
Jan 21st, 2014 at 11:31am
Print Post  
Hi,

If a DiagramPage's Bounds are smaller than the Viewport, then the DiagramPage is shown centrally aligned within the DiagramView.  Is there a way to have it top left aligned instead ?

Regards
Greg
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramPage's alignment within Viewport
Reply #1 - Jan 21st, 2014 at 1:10pm
Print Post  
Hi,

It doesn't seem possible. That depends on ScrollViewer used in TabbedDiagramView's template, and I can't find any way to left-align ScrollViewer's content if it is smaller than viewport. If you know of any way to do that, you could customize the ScrollViewer's Xaml in the template. Otherwise you could set diagram.Bounds to the union of the viewport and current Bounds value to make sure it doesn't get smaller than the viewport.

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