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

QTabBar: layoutDirty should be exposed to subclasses

XMLWordPrintable

      I'm currently subclassing a QTabBar so the tabs are drawn vertically but not rotated.

      This class sets a custom tabSizeHint so the width is fixed, based on a percentage of the main window size. However, there's no way to inform QTabBar the tabSizeHint changed and the tabs should be laid out again.

      My current workaround is to call setIconSize with an unchanged size, but I think a setLayoutDirty or so should be exposed.

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

            peppe Giuseppe D'Angelo
            the compiler Florian Bruhin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes