import QtQuick 2.7
import QtQuick.Controls 2.0
ApplicationWindow {
visible: true
width: 800
height: 600
Row {
anchors.centerIn: parent
spacing: 20
Column {
spacing: 20
Text {
text: 'Text Edit With Bug'
}
ListView {
id: listViewBug
width: 300
height: 400
model: [0,1,2]
delegate: Row {
spacing: 5
TextEdit {
width: 400
textFormat: Text.AutoText
text: ''
}
}
}
}
Column {
spacing: 20
Text {
text: 'Correct Text Edit behavior'
}
ListView {
id: listViewCorrect
width: 300
height: 400
model: [0,1,2]
delegate: Row {
spacing: 5
TextEdit {
width: 400
textFormat: Text.AutoText
text: 'a'
}
}
}
}
}
}