Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-11334

In QML, When an ID is not the first line, smart widget editor wont ident

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 3.0.0, Qt Creator 3.1.0-beta
    • Quick / QML Support
    • None
    • 3ee64ed69938cce93a7cfd90926f7d8b91782366

    Description

      If the "id" is not the first property assigned the indent is lost when editing using the smart popup.

      Take for example:
      Text

      { width: 128 text: filename id: name elide: Text.ElideMiddle }

      Then edit the color, the screenshot is what happens.

      Expected behavior, to be indented correctly.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            desert Ariel Molina R.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes