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

Qt Creator puts wrong fields for spacer objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • 5.15.18
    • 6.7.2
    • Build tools: uic
    • None
    • Linux/X11
    • fed3e50cb (tqtc/lts-5.15), ac03c58c8 (14.0), 903c0111d (dev), 67c7d6ecf (6.8), 968391b7e (6.7), 435029af3 (dev), 4b066c20a (dev), e7547b231 (6.8), e4bdbb634 (6.7), 1a655fdcf (dev), 3515deb56 (6.8), 6c989105c (6.7), ff10c991c (6.7.3), 3b2dcfa4e (dev)

    Description

      Something in a recent version of Qt designer has changed whereby the output for spacers has flipped, and is generating useless objects, I am using Qt creator 13.0.2 (with Qt 6.7.2), I last used Qt creator 12.0.2 (with Qt 6.6.3) which did not have this issue.

       

      This shows the difference in output with 13.0.2, the bottom line is wrong and has flipped the last 2 arguments:

      -    verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
      +    verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Expanding, QSizePolicy::Minimum); 

      Attachments

        Issue Links

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

          Activity

            People

              jkobus Jarek Kobus
              thedjnk Mr nK
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes