Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ShapeListBox icons (Read 1284 times)
saad
Full Member
***
Offline


I Love MindFusion!

Posts: 117
Joined: Oct 8th, 2012
ShapeListBox icons
Nov 15th, 2012 at 2:45am
Print Post  
The shapelistbox by default saves icon as a jpg..such as factoryInternalShape32113133232L.jpg

Instead of it making and choosing this icon by itself, I want it to choose an icon of my own choice.

Secondly I want it to choose a gif or png instead of jpg.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ShapeListBox icons
Reply #1 - Nov 16th, 2012 at 6:54am
Print Post  
At this time you can show custom icons using a shape library whose shapes look like this:

Code
Select All
  <shape id="shape1_icon" fill-mode="Winding">
    <outline />
    <shape-decorations />
    <image x="0" y="0" width="100" height="100" src="icon1.png" />
    <enable-outline>False</enable-outline>
  </shape> 



Then in NodeCreated handler replace the "*_icon" shapes with the actual shape you need to show.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint