Page 1 of 1

Change Color of ProgressBarGadget

Posted: Sat May 02, 2020 10:10 am
by munfraid
Hi, does anybody know how to change the color of the ProgressBarGadget()? Unfortunately there is nothing like SetGadgetColor().

Re: Change Color of ProgressBarGadget

Posted: Sat May 02, 2020 11:14 am
by Peter
munfraid wrote:Hi, does anybody know how to change the color of the ProgressBarGadget()?

Code: Select all

! $("<style> .dijitProgressBarTile { background-color: red; } </style>").appendTo("head");
But then you won't have this nice animation anymore. For that you would have to dig a little deeper into your bag of tricks.

Greetings ... Peter

Re: Change Color of ProgressBarGadget

Posted: Sat May 02, 2020 12:49 pm
by munfraid
Thanks for the fast reply, Peter, it works great - even with the animation! :)