I'm working on a GWT project where the font-sizes need to be set dynamically. I'm attempting to use
myFlexTable.getElement().getStyle().setProperty("fontSize", Integer.toString(font_size) + "px");
to set the font-size of the text in myFlexTable
. Unfortunately, this setting is being overwritten by a 13px font-size that I don't know how to fix. When using the above code on a GWT label or input, it correctly sets the font-size. When searching for a solution I've only been able to find solutions which are edits of the static CSS. Any suggestions as to how I might fix this? Thank you much!