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

The TextArea: horizontal scroll bar never appears

XMLWordPrintable

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

      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
          }
      }
      

        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
            wiz29 Alexander
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes