title: Qt.labs.controls: TabButtons don't click
body: <p>I use Qt 5.6 labs controls. I use TabBar and SwipeView. But TabButtons don't click. I want to paint background of the Item control and so I use Rectangle but the rectangle is fill all screen. My app and I want this: <a href="http://s10.postimg.org/9aimg7ajt/tabbarandswipeview.png" rel="nofollow">IMAGE</a>.
  And my code is this:</p>
  
  <pre><code>import QtQuick 2.6
  import Qt.labs.controls 1.0
  
  Rectangle {
    TabBar {
        id: tabbar
        width: parent.width
        currentIndex: view.currentIndex
  
        TabButton {
          text: qsTr("1")
        }
  
        TabButton {
          text: qsTr("2")
        }
  
        TabButton {
          text: qsTr("3")
        }
      }
  
      SwipeView {
        id: view
        anchors.fill: parent
        currentIndex: tabbar.currentIndex
  
        Item {
          id: tab0
          Rectangle {
            color: "red"
          }
        }
  
  
        Item {
          id: tab1
          Rectangle {
            anchors.fill: parent // -&gt; This command is fill all screen so I don't click TabButtons.
            color: "blue"
          }
        }
  
  
        Item {
          id: tab2
          Rectangle {
            anchors.fill: parent
            color: "lightblue"
          }
        }
      }
  }
  </code></pre>
  
  <p>Thanks.</p>