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. screenshot2.png
          6 kB
          Kenny Bohle
        2. screenshot-2.jpg
          10 kB
          Dave Smith
        3. screenshot1.png
          8 kB
          Kenny Bohle
        4. screenshot-1.jpg
          18 kB
          Dave Smith
        5. moz-screenshot-5.png
          16 kB
          Tristan Chabredier
        6. moz-screenshot-4.png
          7 kB
          Tristan Chabredier
        7. moz-screenshot-3.png
          8 kB
          Tristan Chabredier
        8. LayoutProblem.ui.xml
          2 kB
          Dave Smith
        9. layoutBug.zip
          1 kB
          Tristan Chabredier
        10. example.zip
          163 kB
          Kenny Bohle
        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