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

column layout height not updating binding in states

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.0 Beta2
    • Quick: Layouts
    • None

    Description

      When using a column layout in Qt Design Studio, whose height is bound to the visibleChildren.height property and then changing the visibility of the children items in states, the height of the column is being updated properly in the Form View / Property View of Qt Design Studio. 

      However binding something else to the column.height property does not update the value of column height in the state change.

      In the example the Root item height is bound to the column height, which does not update when the state is changed. I also bound the column height and item height values to the text label which also do not update when changing the states.

      Attachments

        1. TestFile.ui.qml
          2 kB
        2. columnHeight3.png
          columnHeight3.png
          1.01 MB
        3. columnHeight2.png
          columnHeight2.png
          763 kB
        4. columnHeight1.png
          columnHeight1.png
          741 kB

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            brook_cronin_qt Brook Cronin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: