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

Qt Creator 11.0.2 design view inconsistent with execution view

    XMLWordPrintable

Details

    Description

      Labels and buttons are placed, the button is placed in a horizontal layout, and a vertical layout has been added to the top-level widget.

      In the preview and execution, the label is displayed extended vertically. the button is placed in the center of horizontal layout in design view, but when running the programme, It is placed in the bottom of horizontal layout.

      Please see the attached screenshot designview_qtcreator1102.png ,runingview_qtcreator1102.png and layoutunconsistent.zip.

      There is a workaground . Set the vertical stretch factor of the label to something other than 0. Set the stretch factor of the top-level vertical layout to "1,0"

      Attachments

        1. designview_qtcreator1102.png
          designview_qtcreator1102.png
          250 kB
        2. layoutunconsistent.zip
          3 kB
        3. qtbug116307.zip
          1 kB
        4. runingview_qtcreator1102.png
          runingview_qtcreator1102.png
          22 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            nigel.lu Nigel Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes