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

QtQuickControls TabBar Fusion style: First TabButton placement odd

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.6.0, 6.6.1
    • Quick: Controls 2
    • None

    Description

      Please see the attached screenshots.

      • "eeny" selected looks ok
      • "meeny" selected: note how "eeny" is misplaced
      • "moe" selected: same

      Seems only the first TabButton is affected.

      Style is "Fusion" (which is also used by MacOS and Windows for TabBar).

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Layouts
      
      Window {
        width: 640
        height: 480
        visible: true
        title: qsTr("Hello World")
      
        Pane {
          anchors.fill: parent
      
          contentItem: ColumnLayout {
            TabBar {
              Layout.fillWidth: true
              TabButton {
                text: "eeny"
              }
              TabButton {
                text: "meeny"
              }
              TabButton {
                text: "moe"
              }
            }
          }
        }
      }
      

      Attachments

        1. tabbar_1.png
          tabbar_1.png
          42 kB
        2. tabbar_2.png
          tabbar_2.png
          42 kB
        3. tabbar_3.png
          tabbar_3.png
          42 kB

        Issue Links

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

          Activity

            People

              dorisverria Doris Verria
              njeisecke Nils Jeisecke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes