Set placeholder text color for text field and area
This commit is contained in:
@@ -30,6 +30,7 @@ ScrollView {
|
||||
font.pixelSize: theme.fontSize.normal
|
||||
font.pointSize: -1
|
||||
|
||||
placeholderTextColor: theme.controls.textArea.placeholderText
|
||||
color: theme.controls.textArea.text
|
||||
background: Rectangle {
|
||||
id: textAreaBackground
|
||||
|
@@ -24,6 +24,7 @@ TextField {
|
||||
property color focusedBorderColor: _tf.focusedBorder
|
||||
property alias radius: textFieldBackground.radius
|
||||
|
||||
placeholderTextColor: _tf.placeholderText
|
||||
color: activeFocus ? _tf.focusedText : _tf.text
|
||||
|
||||
background: Rectangle {
|
||||
|
Reference in New Issue
Block a user