2019-09-10 12:35:55 +02:00
|
|
|
import QtQuick 2.0
|
|
|
|
|
|
|
|
import org.kde.plasma.components 3.0 as PlasmaComponents
|
|
|
|
|
2019-12-09 17:33:23 +01:00
|
|
|
ComponentBase {
|
2019-09-10 12:35:55 +02:00
|
|
|
id: root
|
|
|
|
property string longText: "This is a longer sentence"
|
|
|
|
|
|
|
|
Flow {
|
|
|
|
anchors.fill: parent
|
|
|
|
anchors.margins: 20
|
|
|
|
spacing: 20
|
|
|
|
|
|
|
|
PlasmaComponents.TextField {
|
|
|
|
placeholderText: longText
|
|
|
|
}
|
|
|
|
|
|
|
|
PlasmaComponents.TextField {
|
|
|
|
text: root.longText
|
|
|
|
}
|
|
|
|
|
|
|
|
PlasmaComponents.TextField {
|
|
|
|
width: 400
|
|
|
|
placeholderText: longText
|
|
|
|
}
|
|
|
|
|
|
|
|
PlasmaComponents.TextField {
|
|
|
|
text: root.longText
|
|
|
|
echoMode: TextInput.Password
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|