Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123296

QML Text paintedWidth/paintedHeight not documented

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.6
    • None

      https://doc.qt.io/qt-5/qml-qtquick-text.html does not list the paintedWidth/paintedHeight properties.

      Looking into qquicktext_p.h I see

      Q_PROPERTY(qreal paintedWidth READ contentWidth NOTIFY contentWidthChanged)  // Compatibility 

      which suggests I should be using contentWidth instead. However this is not clear at all when encountering existing code that uses paintedWidth.

      It should probably be listed under "Deprecated members"

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            nicolasfella Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes