[MeeGo-touch-dev] Changes to line breaking in MLabel
Arsi
arsi353 at gmail.com
Wed Aug 25 02:29:25 PDT 2010
Rich label will not recognize '\n'.
Longer explanation:
After a merge request is commited, rich label needs to use <br> for line
breaks, '\n' is not interpreted any more. Simple labels can use '\n'. As
before, simple label means an MLabel with no HTML tags in the input string,
rich label means an MLabel with at least one HTML tag, even if it doesn't do
anything. For example calling label->setText("text") makes the label a
simple label, and calling label->setText("<b></b> text") makes the label a
rich label.
Regards,
Arsi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.meego.com/pipermail/meego-touch-dev/attachments/20100825/b638efc0/attachment.html>
More information about the MeeGo-touch-dev
mailing list