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

Make TextField placeholder text elide

Change-Id: Iac36b0b103890c031c7622fc13663fcfa6ba8b85
Reviewed-on: http://codereview.qt.nokia.com/1568

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent e9175a4e
......@@ -152,6 +152,7 @@ FocusScope {
opacity: !textInput.text.length && !textInput.activeFocus ? 1 : 0
color: "gray"
text: "Enter text"
elide: Text.ElideRight
Behavior on opacity { NumberAnimation { duration: 90 } }
}
}
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