Changeset View
Changeset View
Standalone View
Standalone View
tests/components/textfield3.qml
1 | import QtQuick 2.0 | 1 | import QtQuick 2.0 | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | import org.kde.plasma.components 3.0 as PlasmaComponents | 3 | import org.kde.plasma.components 3.0 as PlasmaComponents | ||
4 | 4 | | |||
5 | Rectangle { | 5 | ComponentBase { | ||
6 | id: root | 6 | id: root | ||
7 | color: "white" | | |||
8 | width: 800 | | |||
9 | height: 300 | | |||
10 | | ||||
11 | property string longText: "This is a longer sentence" | 7 | property string longText: "This is a longer sentence" | ||
12 | 8 | | |||
13 | Flow { | 9 | Flow { | ||
14 | anchors.fill: parent | 10 | anchors.fill: parent | ||
15 | anchors.margins: 20 | 11 | anchors.margins: 20 | ||
16 | spacing: 20 | 12 | spacing: 20 | ||
17 | 13 | | |||
18 | PlasmaComponents.TextField { | 14 | PlasmaComponents.TextField { | ||
Show All 18 Lines |