SimpleDataField newline

Can you do \n newline in simpledatafield?

this:

 dateStr = Lang.format("$1$ \n$2$", [info.month, info.day]);

reduces font size in simulator to accomodate for new line but does not actually move text to new line

  • I think it doesn't work in SimpleDataField, or maybe it does on certain devices but not on others.

    What you see as "reduces font size" is not what you think IMHO, but rather that the original string (without the new line) only included characters that are present in the NUMBER fonts that are bigger, but since it doesn't know the meaning of \n it tries to display it, but as it's not part of the NUMBER font, it uses the regular SYSTEM fonts that are smaller.