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

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

      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.

        1. bug.png
          25 kB
          Ariel Molina R.
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes