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

Image and Text "sizeHints" are hidden in QML components

    XMLWordPrintable

Details

    Description

      Some components have intrinsic size information, for example:

      • Text: The size required to draw the full text, without eliding, with the current font and size.
      • Image: The source image size

      In Quick these intrinsic sizes are not always available, and when they are, it is not very consistent. For instance, the intrinsic text size is lost when a size is explicitly set to the Text component.

      I suggest a property is exposed in these cases, maybe the already existing intrinsicSize.

      Attachments

        Issue Links

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

          Activity

            People

              brasser Michael Brasser (closed Nokia identity) (Inactive)
              fleury Eduardo Fleury
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes