Major changes
[quicknewsreader] / qml / QuickNewsReader / content / view / LineInput.qml
diff --git a/qml/QuickNewsReader/content/view/LineInput.qml b/qml/QuickNewsReader/content/view/LineInput.qml
new file mode 100644 (file)
index 0000000..a687a10
--- /dev/null
@@ -0,0 +1,26 @@
+import QtQuick 1.0
+
+Item {
+  id: lineInput
+  property alias text: input.text
+  property alias input: input
+  height: 50
+
+  BorderImage {
+      id: borderImage
+      border.left: 10
+      border.top: 10
+      border.bottom: 10
+      border.right: 10
+      source: "../images/lineedit.png"
+      anchors.fill: parent
+  }
+  TextInput {
+      id: input
+      color: "#151515"; selectionColor: "green"
+      font.pixelSize: 24; font.bold: true
+      width: borderImage.width-16
+      anchors.centerIn: parent
+      focus: true
+  }
+}