Selection color for inputs

This commit is contained in:
Sander Ferdinand 2018-04-21 15:26:48 +02:00
parent 72541b6d51
commit 544b872ada
2 changed files with 4 additions and 0 deletions

View file

@ -38,6 +38,8 @@ TextField {
horizontalAlignment: TextInput.AlignLeft horizontalAlignment: TextInput.AlignLeft
selectByMouse: true selectByMouse: true
color: MoneroComponents.Style.defaultFontColor color: MoneroComponents.Style.defaultFontColor
selectionColor: MoneroComponents.Style.dimmedFontColor
selectedTextColor: MoneroComponents.Style.defaultFontColor
background: Rectangle { background: Rectangle {
color: "transparent" color: "transparent"

View file

@ -47,6 +47,8 @@ TextArea {
horizontalAlignment: TextInput.AlignLeft horizontalAlignment: TextInput.AlignLeft
selectByMouse: true selectByMouse: true
color: MoneroComponents.Style.defaultFontColor color: MoneroComponents.Style.defaultFontColor
selectionColor: MoneroComponents.Style.dimmedFontColor
selectedTextColor: MoneroComponents.Style.defaultFontColor
wrapMode: { wrapMode: {
if(wrapAnywhere){ if(wrapAnywhere){