From 6a683435fd5858fae8ae0d70db780d767b6886cc Mon Sep 17 00:00:00 2001 From: Leonardo Date: Wed, 11 Mar 2015 12:19:29 -0300 Subject: [PATCH] Add a text to replace PasswordBox when it should not appear --- components/2.0/PictureBox.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/2.0/PictureBox.qml b/components/2.0/PictureBox.qml index 755eddb42..eb2fbfee8 100644 --- a/components/2.0/PictureBox.qml +++ b/components/2.0/PictureBox.qml @@ -110,5 +110,17 @@ FocusScope { } } } + + Text { + id: pressToLogin + height: 30 + font.pixelSize: 14 + anchors { left: parent.left; right: parent.right } + color: "#666666" + elide: Text.ElideRight + font { bold: true; capitalization: Font.AllUppercase } + horizontalAlignment: Text.AlignHCenter + text: qsTr("Press to login") + } } }