Skip to content

Commit 6a68343

Browse files
mobius3plfiorini
authored andcommitted
Add a text to replace PasswordBox when it should not appear
1 parent b6483ac commit 6a68343

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

components/2.0/PictureBox.qml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,17 @@ FocusScope {
110110
}
111111
}
112112
}
113+
114+
Text {
115+
id: pressToLogin
116+
height: 30
117+
font.pixelSize: 14
118+
anchors { left: parent.left; right: parent.right }
119+
color: "#666666"
120+
elide: Text.ElideRight
121+
font { bold: true; capitalization: Font.AllUppercase }
122+
horizontalAlignment: Text.AlignHCenter
123+
text: qsTr("Press to login")
124+
}
113125
}
114126
}

0 commit comments

Comments
 (0)