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

QML Text paintedWidth/paintedHeight not documented

    XMLWordPrintable

Details

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

    Description

      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"

       

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes