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

QStackedWidget height for width is wrong

XMLWordPrintable

    • 4aa9e184b527eb30c0e86576c6fc89fe63433c7e 9f96bf20238a21b62c34261d8dc5a0ad0bfdc789

      The height for width computation of the QStackedWidget seems wrong.
      If you add a QLabel with A LOT of text (and with long lines), then the QStackedWidget won't be resized at the correct size.
      How to reproduce:
      open designer
      create widget
      add a QStackedWidget into the widget
      add a QLabel into the QStackedWidget ( a lot of text with long lines, wordwrap on).
      Preview
      Play with the resize of the widget
      -> the QLabel doesn't show all the text when the width is small.

      See .ui file as an example.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            smd Jan Arve
            finetjul Julien Finet
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes