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

Layout.preferredWidth is ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.12, 6.4.2
    • Quick: Layouts
    • None

    Description

      In my opinion, black and red rectangles (bug.png) should divide the space equally.

      Here is the code with all the comments. Making troubleMaker invisible "solves" the issue.

      P.S. Ok, it seems copy/paste from Qt Creator is not supported here at all. So I'll just attach the code instead of pasting it here. There you'll be able to find all the descriptions about the issue (maybe not an issue but a lack of my knowledge by the way..).

      Attachments

        1. bug.png
          bug.png
          2 kB
        2. main.qml
          2 kB

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            alervd Alexander Dyagilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: