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

Layout issue when a QLabel with wordWrap=true is inside a Stacked Widget

    XMLWordPrintable

Details

    Description

      Create a groupBox with some QLineEdit.
      Set a GridLayout for the groupBox and the Form.
      When you resize the Form, the height of the QLineEdit is shrunk.

      It works correctly if you replace the QStackedWidget by an other container (a
      QFrame for instance).

      The problem is visible from within Qt designer or at run-time after the .ui has
      been compiled.

      Reproducible from 4.5.2 to 4.6.1 at least.

      Attachments

        1. example.zip
          163 kB
        2. layoutBug.zip
          1 kB
        3. LayoutProblem.ui.xml
          2 kB
        4. moz-screenshot-3.png
          moz-screenshot-3.png
          8 kB
        5. moz-screenshot-4.png
          moz-screenshot-4.png
          7 kB
        6. moz-screenshot-5.png
          moz-screenshot-5.png
          16 kB
        7. screenshot-1.jpg
          screenshot-1.jpg
          18 kB
        8. screenshot1.png
          screenshot1.png
          8 kB
        9. screenshot-2.jpg
          screenshot-2.jpg
          10 kB
        10. screenshot2.png
          screenshot2.png
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            tc@4js.com Tristan Chabredier
            Votes:
            15 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes