aboutsummaryrefslogtreecommitdiff
path: root/components/LineEdit.qml
diff options
context:
space:
mode:
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
+ }
+}