diff options
| author | marcin <z.krzysztoff7@gmail.com> | 2014-07-07 19:08:30 +0200 |
|---|---|---|
| committer | marcin <z.krzysztoff7@gmail.com> | 2014-07-07 19:08:30 +0200 |
| commit | 62df25ce8e090f53aef822c2b22c754fd4fca3e1 (patch) | |
| tree | cf7af7fb5e3700dc26599f46aebf6676cb832a21 /components/LineEdit.qml | |
| download | monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.tar.gz monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.tar.xz monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.zip | |
first push
Diffstat (limited to 'components/LineEdit.qml')
| -rw-r--r-- | components/LineEdit.qml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/components/LineEdit.qml b/components/LineEdit.qml new file mode 100644 index 00000000..aad227ae --- /dev/null +++ b/components/LineEdit.qml @@ -0,0 +1,28 @@ +import QtQuick 2.0 + +Item { + property alias placeholderText: input.placeholderText + property alias text: input.text + height: 37 + + Rectangle { + anchors.fill: parent + anchors.bottomMargin: 1 + color: "#DBDBDB" + radius: 4 + } + + Rectangle { + anchors.fill: parent + anchors.topMargin: 1 + color: "#FFFFFF" + radius: 4 + } + + Input { + id: input + anchors.fill: parent + anchors.leftMargin: 11 + anchors.rightMargin: 11 + } +} |
