aboutsummaryrefslogtreecommitdiffstats
path: root/qml/TextField.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/TextField.qml')
-rw-r--r--qml/TextField.qml21
1 files changed, 6 insertions, 15 deletions
diff --git a/qml/TextField.qml b/qml/TextField.qml
index 1d3c12d..d60d14b 100644
--- a/qml/TextField.qml
+++ b/qml/TextField.qml
@@ -6,20 +6,12 @@ Rectangle {
property alias text: textInput.text
- //width: 100
- //height: 62
-
- //Rectangle {
- // id: rectangle4
- width: 114
- height: 28
- color: "#ffffff"
- radius: 3
- border.width: 1
- border.color: "#999999"
- //}
-
-
+ width: 114
+ height: 28
+ color: "#ffffff"
+ radius: 3
+ border.width: 1
+ border.color: "#999999"
TextInput {
id: textInput
@@ -30,7 +22,6 @@ Rectangle {
selectionColor: "#008000"
font.pixelSize: 12
anchors.centerIn:parent
- //onActiveFocusChanged: rectangle4.border.color = "#0000ff";
onActiveFocusChanged: {
if (textInput.activeFocus)
parent.border.color = "#0000ff";