I wrote a simple gadget to test the properties of edit element defined
in gadget api. The gadget changes the background property by clicking
at a button, but the background does not change until i modify the
text in the edit element.
Then i looked into the code in gadget library and found that the first
parameter in QueueRefresh() function called in SetBackground() is
false, thus the background color will not be changed because the
content_modified_ flag is false.
And the background is changed immediately if i modify the parameter to
I'm not sure if this is an issue or not.
Please check this. Thanks.