TextArea is showing scrollbars when initially empty and using autoSize

Bug #1468308 reported by Nick Dedekind
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Low
Unassigned

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.