Applied selection color to the StyledTextArea and StyledTArea. Fixes #1611

This commit is contained in:
staked-smart-ace 2021-01-14 19:11:10 +04:00 committed by Iuri Matias
parent 1840165caa
commit bc63c30ec2
2 changed files with 4 additions and 1 deletions

View File

@ -5,4 +5,5 @@ import "../imports"
TextArea { TextArea {
font.family: Style.current.fontRegular.name font.family: Style.current.fontRegular.name
color: Style.current.textColor color: Style.current.textColor
selectionColor: Style.current.primarySelectionColor
} }

View File

@ -60,6 +60,7 @@ Item {
font.family: Style.current.fontRegular.name font.family: Style.current.fontRegular.name
color: Style.current.textColor color: Style.current.textColor
placeholderTextColor: Style.current.darkGrey placeholderTextColor: Style.current.darkGrey
selectionColor: Style.current.primarySelectionColor
} }
MouseArea { MouseArea {
@ -81,7 +82,8 @@ Item {
readOnly: true readOnly: true
font.pixelSize: 12 font.pixelSize: 12
color: Style.current.red color: Style.current.red
selectedTextColor: Style.current.textColor
selectionColor: Style.current.primarySelectionColor
} }
} }