[Qt-qml] wrap text functionality no working for html source using Text element
warwick.allison at nokia.com
warwick.allison at nokia.com
Thu Apr 15 03:00:42 CEST 2010
Yep, looks like a bug. Please report at bugreports.qt.nokia.com - thanks!
--
Warwick
> -----Original Message-----
> From: qt-qml-bounces at trolltech.com [mailto:qt-qml-
> bounces at trolltech.com] On Behalf Of ext Rakesh.Mutharaju at tieto.com
> Sent: Thursday, April 15, 2010 4:53 AM
> To: qt-qml at trolltech.com
> Subject: [Qt-qml] wrap text functionality no working for html source
> using Text element
>
> Hi,
>
> I am trying to show html content as text. I used text item for
> the same.
>
> Text {
> id: textcontent
> x: 0
> y: 435
> width: parent.width
> height: 300
> text: "<p><b>
> Technology Previews of Qt 4.7 and Qt Creator 2.0 are now
> available for download testing and feedback. <a title=
> \"Download\" href=\"#download\">Download them</a>, try them out, and <a
> title=\"How to Provide Feedback\" href=\"#how-to-provide-
> feedback\">tell us what you think</a>.\
> </b></p>\
> \
> <p>Together, Qt 4.7 and Qt Creator 2.0 bring new features
> to make cross-platform application and UI development with Qt even
> faster and easier.</p>\
> <ul><li>Qt Quick: A new way to build animated, pixel-
> perfect touch-enabled UIs with Qt </li><li>A focus on making Qt faster
> with each release </li><li>New levels of quality and control in
> Qt</li></ul>\
> \
> <p>Qt 4.7 and Qt Creator 2.0 are planned for release in
> mid-2010 as part of the Qt SDK.</p>\
> \
> \
> <h2><a name=\"what-s-new\"></a>Whats New?</h2>\
> <p>\
> The key new feature of the Qt 4.7 and Qt Creator 2.0
> releases is Qt Quick (Qt User Interface Creation Kit): a high-level UI
> technology\
> that allows developers and UI designers to work together
> to create\
> animated,touch-enabled UIs and lightweight
> applications. It includes:</p>\
> \
> <ol><li>New Tools in the <a title=\"Qt Development Tools\"
> class=\"internal-link\" href=\"../products/developer-tools/developer-
> tools\">Qt Creator IDE</a>: including a visual editor that allows UI
> designers and developers to cooperate, working on the same code in an
> iterative approach\
> </li><li><a class=\"external-link\"
> href=\"http://doc.qt.nokia.com/4.7-
> snapshot/qdeclarativeintroduction.html\">QML (Qt Meta-Object
> Language)</a>: an easy to use, declarative language </li><li><a
> class=\"external-link\" href=\"http://doc.qt.nokia.com/4.7-
> snapshot/qtdeclarative.html\">QtDeclarative</a>: a new module in the Qt
> library that enables a new declarative programming approach</li></ol>\
> <p>And while no C++ programming skills are needed to use Qt
> Quick, it is 100% based on Qt and can be extended from C++, limited
> only by your creativity.</p>\
> "
> wrap: true
> }
>
> The text displayed is not wrapped.
>
> Could someone tell me how to use the "wrap" functionality
>
> Thanks & Best regards,
> Rakesh.M
>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml
More information about the Qt-qml
mailing list