I've written a Sidebar gadget in Windows 7, and added a g:textObject, and later on change the value through variable.value.
But when run in Windows Vista, the text seems to compress itself strangely.
Is there anything wrong with this code?
var clock = document.getElementById("background").addTextObject("Time", "Nyala", 18, "white", 110, 500);
//This correctly displays the word 'Time' in the proper font.
clock.value = clock.value+"s";
//This causes the text to become "Times" but shrink.
//appending more sporadically causes the textObject to shrink as well.
Is using the .value the wrong way to do this?