Page 2 of 2

Re: Canvas Background

Posted: Thu Oct 17, 2013 7:15 pm
by Danilo
How about adding the possibility of background images to ContainerGadget?

Code: Select all

SetGadgetAttribute(containerGadget,#PB_Container_Image,ImageID)
This gadget supports the SetGadgetColor() and GetGadgetColor() functions with #PB_Gadget_BackColor as type to change the gadget background.
Adding optional background image support could help with some application skinning, as the container allows to have Gadgets inside the container.

If possible, the same for ScrollAreaGadget background?

Code: Select all

SetGadgetAttribute(scrollAreaGadget,#PB_ScrollArea_Image,ImageID)

Re: Canvas Background

Posted: Fri Oct 18, 2013 12:52 am
by IdeasVacuum
Yes, I have used ContainerGadgets() for this type of thing too - added advantage is being able to Hide/UnHide 'tool sets' depending on the context of User actions.