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

The TextArea: horizontal scroll bar never appears

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.5.1
    • Quick: Controls 1
    • None

    Description

      The example below reproduces the issue. The horizontal scrollbar does not appear for the text control.

      window.qml
      import QtQuick 2.5
      import QtQuick.Controls 1.4
      import QtQuick.Dialogs 1.2
      import QtQuick.Layouts 1.2
      
      ApplicationWindow
      {
          id: window
          width: 800
          height: 600
          visible: true
          title: qsTr("Test window")
      
          TextArea
          {
              id: text
              visible: true
              horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOn
              anchors.fill: parent
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              wiz29 Alexander
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes