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

Layout incorrectly set it's children width if layout's height depends on some expression

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.1
    • 5.1.1, 5.2.0
    • Quick: Layouts
    • None
    • Windows 7, msvc2010, x86, ANGLE
    • 17788ca8f0d6fe4fb0d03e99e34ed667fde54379

    Description

      I placed layout into loader and made loader's height depend on loaded component. The red rectangle should be a square, due to it's implicit size, but it has wrong width.

      Attachments

        1. LayoutConditionalHeight.qml
          1.0 kB
          Nikita Krupenko
        2. LayoutWidth.png
          14 kB
          Nikita Krupenko
        For Gerrit Dashboard: QTBUG-36169
        # Subject Branch Project Status CR V

        Activity

          People

            smd Jan Arve
            krnekit Nikita Krupenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes