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

[REG 5.11.2-5.12 ] DialogButtonBox breaks when button text is changed

    XMLWordPrintable

Details

    • Windows
    • 8b78d9cea3091b0bd94d1ae0c71a000f8e7e1903 (qt/qtquickcontrols2/5.12)

    Description

      I am styling my application with the Universal style, and have developed a test case.

      The test case creates two buttons and then when it is 'complete' alters the text of the ok button. This then breaks the layout, hiding/removing the cancel button.

      Separately I have my main application I am developing, and I am assigning a different action to an apply button, and this will also change the button's text and break the layout also. I have a workaround that triggers the layout process by setting the alignment to undefined then back to my desired Qt.AlignRight.

      This was working in 5.11.2.

      Attachments

        Activity

          People

            mitch_curtis Mitch Curtis
            petermj Peter Myerscough-Jackopson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: