← Back to team overview

touch-packages team mailing list archive

[Bug 1468308] Re: TextArea is showing scrollbars when initially empty and using autoSize

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1468308

Title:
  TextArea is showing scrollbars when initially empty and using autoSize

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  If the TextArea is using autoSize=true and has no text in it, the
  vertical scrollbar shows on start. If you edit to multiple lines, then
  remove the text, the scrollbar no longer shows.

  Test Case:

  import QtQuick 2.3
  import Ubuntu.Components 1.2

  Item {
          width: units.gu(20)
          height: units.gu(20)
          TextArea {
                  autoSize: true
                  anchors {
                          left: parent.left
                          right: parent.right
                  }
          }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1468308/+subscriptions


References