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

"Add state" button moves out of sight

    XMLWordPrintable

Details

    Description

      1. Open a QML file in Design mode.
      2. Click the "Add state" button to add a state.
      3. Go to Edit mode.
      4. Change the state's name to a couple of newlines:
            states: [
                State {
                    name: "
        
        
        "
                }
            ]
        

        It looks ugly but it seems to be valid QML.

      5. Go to Design mode.
        The state's preview and the "Add state" button have moved down.
      6. Go to Edit mode.
      7. Remove the whole states code.
      8. Go to Design mode.
        The "Add state" button still is in the wrong place:

      We may argue about moving the state's preview, but the "Add state" button should never move in vertical direction.

      Attachments

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

        Activity

          People

            tjenssen Tim Jenssen
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes