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

QMdiQArea ScrollBarAsNeeded policy does not update QScrollbar after tileSubWindows()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.3.0
    • GUI: Look'n'Feel
    • None
    • Ubuntu Linux 14.04
    • 4c585690852e2c3e3700c2060ef0408a7e533d4e (qt/qtbase/wip/qt6)

    Description

      0.) Set setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded) and setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded)
      1.) I have created QSubWindows in QMdiArea.
      2.) Maximize MainWindow
      3.) Execute tileSubWindows() method of QMdiArea object

      Here the scroll bars are not loaded if the size of sub windows are brigger than QMidArea size. I have to minimize and maximize the MainWindow or move windows to activate scroll bars again.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            anno Hans Müller
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes