import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
ApplicationWindow {
width: 640
height: 480
visible: true
RowLayout {
anchors.fill: parent
TextArea {
placeholderText: "Type something..."
text: "a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn"
clip: true
Layout.preferredWidth: 200
Layout.preferredHeight: 200
}
ScrollView {
Layout.preferredWidth: 200
Layout.preferredHeight: 200
TextArea {
placeholderText: "Type something..."
text: "a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn"
}
}
TextField {
placeholderText: "Type something..."
text: "abc"
clip: true
}
}
}