Details

    • Technical task
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.7.0 FF
    • Quick: Shapes
    • None
    • 1052fb195 (dev)

    Description

      While this is not an issue specific to the curve renderer, it pops up regularly when writing tests and examples: Currently a Shape item has size 0x0, meaning that anchoring does not work out of the box.

      In order for layouts etc. to work you have to manually set the size to match that of the bounding rect of the shape, applying transformations, accounting for the bounding rect's offset from its origin, etc.

      For other Qt Quick items such as e.g. Text, it will have an implicit size which is used when nothing else is set. Adapting the same in Shape will make it a lot more convenient to use.

      Attachments

        For Gerrit Dashboard: QTBUG-116482
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes