plasma-framework/tests/components/textfield3.qml
David Edmundson 4ecdbe9622 Add manual tests for PC3
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
2019-09-11 11:11:47 +02:00

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
}
}
}