Public bug reported:

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

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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:
  New

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

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to     : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to