locked
How to change the size of text in a tile template

    Question

  • Hi,

    According to App tiles and badges sample,

    we could set a tile with text by

    var template = document.getElementById("tileTemplateSelector").selectedIndex;       

    var tileXml = Notifications.TileUpdateManager.getTemplateContent(template);

    var tileTextAttributes = tileXml.getElementsByTagName("text");

    tileTextAttributes[textAttribute - 1].appendChild(tileXml.createTextNode(text));

    We could create a text node and assign a string.

    Is there any way to change the size of this text?

    Thanks!

    Friday, May 11, 2012 6:17 AM

Answers