Windows 7でサイドバーガジェットを作成し、ag:textObjectを追加し、後でvariable.valueを使用して値を変更しました。
しかし、Windows Vistaで実行すると、テキストが奇妙に圧縮されているように見えます。
このコードに何か問題がありますか?
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.
.valueを使用するのは間違った方法ですか?