4ecdbe9622
Summary: These were super useful for spotting bugs in PC2. They show many many issues already. Visually they should match PC2. They don't Some API doesn't map directly. Those tests were removed. Test Plan: Opened in qmlscene Everything binds correctly. Some things look horrible. Reviewers: #plasma Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D23827
37 lines
705 B
QML
37 lines
705 B
QML
import QtQuick 2.0
|
|
|
|
import org.kde.plasma.components 3.0 as PlasmaComponents
|
|
|
|
Rectangle {
|
|
id: root
|
|
color: "white"
|
|
width: 800
|
|
height: 300
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|