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

QML: ToolButtons inside a ToolBar are overlapped on android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • 5.2.0
    • 5.1.0 RC1
    • QPA
    • None
    • Android

    Description

      The ToolButtons are overlapped on Android and are working fine on Desktop.

      main.qml is:
      import QtQuick 2.0
      import QtQuick.Controls 1.0
      import QtQuick.Layouts 1.0

      Rectangle {
      width: 360
      height: 360

      Text

      { text: qsTr("Hello World") anchors.centerIn: parent }

      ToolBar {
      id: toolbarListView

      anchors

      { left: parent.left right: parent.right bottom: parent.bottom }

      RowLayout {
      ToolButton { id: a; text: "111"
      onClicked:

      { console.log("a.clicked") }

      }
      ToolButton { id: b; text: "222"
      onClicked:

      { console.log("b.clicked") }

      }
      ToolButton { id: c; text: "333"
      onClicked:

      { console.log("c.clicked") }

      }
      ToolButton { id: d; text: "444"
      onClicked:

      { console.log("d.clicked") }

      }
      }
      }
      }

      Attachments

        1. on_android.jpg
          on_android.jpg
          1.05 MB
        2. on_desktop.png
          on_desktop.png
          13 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bachewii Jens
            giugiu Giuliano Catrambone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes