aboutsummaryrefslogtreecommitdiff
path: root/components/LineEdit.qml
diff options
context:
space:
mode:
authormarcin <z.krzysztoff7@gmail.com>2014-07-07 19:08:30 +0200
committermarcin <z.krzysztoff7@gmail.com>2014-07-07 19:08:30 +0200
commit62df25ce8e090f53aef822c2b22c754fd4fca3e1 (patch)
treecf7af7fb5e3700dc26599f46aebf6676cb832a21 /components/LineEdit.qml
downloadmonzero-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.qml28
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
+ }
+}