Skip to content

Commit

Permalink
Add a text to replace PasswordBox when it should not appear
Browse files Browse the repository at this point in the history
  • Loading branch information
mobius3 authored and plfiorini committed Jun 21, 2015
1 parent b6483ac commit 6a68343
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions components/2.0/PictureBox.qml
Expand Up @@ -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")
}
}
}

0 comments on commit 6a68343

Please sign in to comment.