a3acfbfce6
Summary: For quickly other bugs in PC3 Test Plan: Opened qmlscene on some files It's only for unit tests anyway Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D25822
55 lines
1.2 KiB
QML
55 lines
1.2 KiB
QML
import QtQuick 2.0
|
|
|
|
import org.kde.plasma.components 2.0 as PlasmaComponents
|
|
|
|
import QtQuick.Controls 1.3
|
|
|
|
ComponentBase {
|
|
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 {
|
|
text: root.longText
|
|
clearButtonShown: true
|
|
}
|
|
|
|
PlasmaComponents.TextField {
|
|
width: 400
|
|
placeholderText: longText
|
|
}
|
|
|
|
PlasmaComponents.TextField {
|
|
text: root.longText
|
|
echoMode: TextInput.Password
|
|
revealPasswordButtonShown: true
|
|
}
|
|
|
|
PlasmaComponents.TextField {
|
|
text: longText
|
|
echoMode: TextInput.Password
|
|
revealPasswordButtonShown: true
|
|
clearButtonShown: true
|
|
}
|
|
|
|
PlasmaComponents.TextField {
|
|
text: longText
|
|
LayoutMirroring.enabled: true
|
|
LayoutMirroring.childrenInherit: true
|
|
clearButtonShown: true
|
|
}
|
|
}
|
|
}
|