My understanding is that any particular widget can have exactly one 
decorator. So one way is to exchange one decorator with another, as you 
do now. The other would be to modify the existing decorator by 
retrieving it and then setting the desired property (like backgroundImage).

Thomas

Jim Hunter wrote:
> I got around this by creating a copy of my basic decorator and set the
> backgorund image in it. Now I can switch between the two by simply changing
> the decorator from one to the other. Quite simple!
>
> Jim
>
>
> On Tue, Oct 21, 2008 at 3:11 PM, Jim Hunter <[EMAIL PROTECTED]> wrote:
>
>   
>> I am looking for some support with respect to the new decorators. I have a
>> status area that I used to simply change the background image to indicate
>> various statuses. Now, in order to change the background, I need to change
>> the decorator. I tried creating a new Background decorator and setting the
>> backgroundImage setting and then set my label to use this decorator. And it
>> worked. But what I didn't notice at first was that it removed the decorator
>> that I had on the label to begin with (borders). Is there a way to add a
>> decorator to the ones that are currently in use, then remove it without
>> effecting other decorators? If not, how would you handle this routine
>> situation?
>>
>> Thanks,
>> Jim
>>
>>
>>     
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to