Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Image Stretch Issue (Read 1894 times)
Niranjan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Nov 19th, 2009
Image Stretch Issue
Apr 24th, 2010 at 5:12am
Print Post  
Hi,

When I assign image to the ShapeNode, the image gets stretched when I resize the node. I want the image should stay of fixed size even if the node is resized.

I am using Mindfusion.Diagraming.Silverlight version 1.4.0.29592. is there any issue with this dll?

It is very urgent to fix this issue.

Please help me.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Image Stretch Issue
Reply #1 - Apr 24th, 2010 at 9:58am
Print Post  
It seems we have this hard-coded in the ShapeNode template:

Code
Select All
<Image x:Name="Image"
	Source="{TemplateBinding Image}"
	HorizontalAlignment="Stretch"
	VerticalAlignment="Stretch"
	Stretch="Uniform">
</Image> 



For the time being you can override the values in the template (see Default Control Templates of Diagram Items in the help file for the full Xaml). We'll fix that to work through properties for the 1.5 release.

Stoyan
  
Back to top
 
IP Logged
 
Niranjan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Nov 19th, 2009
Re: Image Stretch Issue
Reply #2 - Apr 24th, 2010 at 1:00pm
Print Post  
Hi Stoyo,

Thank you very much for the quick reply.

For the time being I have changed the template.

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