Page 1 of 1

Visual Designer : Is it possible to create a Custom Image ?

Posted: Wed Sep 03, 2014 10:30 am
by Bruno97
Hi again,

Is it possible to create a Custom Image (understand icon) so the developer does not need to fill in the "image source" field every time he drags and drops it to the center of the screen ?

Thanks.

Bruno

Re: Visual Designer : Is it possible to create a Custom Imag

Posted: Wed Sep 03, 2014 11:13 am
by Scott Klement
You could create a custom widget that is derived from the existing image widget. In that custom widget, you could set the default value for image source to whichever image you prefer. Documentation on how to create a derived widget can be found here:
http://www.profoundlogic.com/docs/displ ... ved+widget

Let me know if that gives you enough information. (If not, I could put together an example for you.)

Re: Visual Designer : Is it possible to create a Custom Imag

Posted: Wed Sep 03, 2014 11:23 am
by Bruno97
Hi Scott,

I was actually about to reply to myself with the same link ;) !
Thanks again, I managed to create a custom image.

Bruno