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

TabBar does not get flickable when using Universal theme

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.13.1, 5.14.0 Beta 1
    • Quick: Controls 2
    • None
    • All

      The documentation states that the TabBar gets flickable when the buttons' width exceeds the available width. This is true for the Material theme, but with the Universal theme the buttons overlap:

      import QtQuick 2.12
      import QtQuick.Controls 2.5
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Tabs")
      
      
          footer: TabBar {
              id: tabBar
              currentIndex: swipeView.currentIndex
      
              Repeater {
                  model: 10
      
                  TabButton {
                      text: qsTr("Page ") + index
                      width: implicitWidth
                  }
              }
          }
      }
      
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            DanielSt Peter Staab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes