Hello All,

 

I've encountered an issue with QML whereby I have some text strings that
require some superscript characters in them - I've wrapped these
characters with the <sup></sup> tags, and everything then works nicely.
Now I assume that because of the tags, the text is being treated as Rich
Text.

 

The problem I then have is that Text elements that are in Rich Text mode
then totally ignore the lineHeight/lineHeightMode properties, and there
seems to be no way of specifying this with HTML either, as the css
property "line-height" isn't mentioned as a supported property on the
supported HTML subset page [1].

 

If I remove the <sup> tags then things work as I expect and the
lineHeight is taken into account.

 

Anyone got any ideas how I can mix these two?

 

I'm using Qt 4.7.4.

 

Thanks

 

Mark

 

[1] http://developer.qt.nokia.com/doc/qt-4.8/richtext-html-subset.html

 

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to