Commit e9175a4e authored by Jens Bache-Wiig's avatar Jens Bache-Wiig Committed by Daniel Molkentin
Browse files

Add hint property to TextField

Change-Id: Ic6777928fbd4e561f9ae070ba9ea8b07d7943452
Reviewed-on: http://codereview.qt.nokia.com/1567

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent 169b358a
......@@ -43,6 +43,8 @@ Components.TextField {
leftMargin: 6
rightMargin: 6
property string hint
height: backgroundItem.sizeFromContents(200, 25).height
width: 200
clip: false
......@@ -53,6 +55,7 @@ Components.TextField {
sunken: true
focus: textfield.activeFocus
hover: containsMouse
hint: textfield.hint
}
Item{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment