Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Getting the text lines of a QML Text object

$
0
0
Hi, See QRectF QQuickTextPrivate::setupTextLayout(qreal *const baseline) for the related code. It uses QTextLayout and QTextLine internally, along with some geometry constraints implied by the geometry of the QQuickText instance properties. Beware, though: text layout code often involves dragons. Kind regards, Chris Adams. http://www.qinetic.com.au/ – Qt & QML User Experience Specialists

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images