I've been working on a full calendar ui layout, but for some reason whenever I set the text of a button
code
Appery('buttonName').text("sample text");
/code
it always gets rid of any other formatting done to the button. (e.g. removes icons and makes the button really small because the text has no padding)
Is there a reason this happens?