Merge pull request #16337 from RebeccaStankus/locationText

Added blank placeholder text on focus to text field
This commit is contained in:
Zach Fox 2019-10-14 12:35:29 -04:00 committed by GitHub
commit b45156b44c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -384,6 +384,7 @@ Rectangle {
placeholderTextColor: "#8E8E8E"
font.pixelSize: 14
placeholderText: width - leftPadding - rightPadding < goToTextFieldMetrics.width ? shortPlaceholderText : longPlaceholderText
blankPlaceholderTextOnFocus: false
clip: true
selectByMouse: true
autoScroll: true