From 544b872ada44396958bb0783460e883f44208840 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sat, 21 Apr 2018 15:26:48 +0200 Subject: [PATCH] Selection color for inputs --- components/Input.qml | 2 ++ components/InputMulti.qml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/components/Input.qml b/components/Input.qml index b4310212..b04c3c72 100644 --- a/components/Input.qml +++ b/components/Input.qml @@ -38,6 +38,8 @@ TextField { horizontalAlignment: TextInput.AlignLeft selectByMouse: true color: MoneroComponents.Style.defaultFontColor + selectionColor: MoneroComponents.Style.dimmedFontColor + selectedTextColor: MoneroComponents.Style.defaultFontColor background: Rectangle { color: "transparent" diff --git a/components/InputMulti.qml b/components/InputMulti.qml index 5698dcc6..b60a4a75 100644 --- a/components/InputMulti.qml +++ b/components/InputMulti.qml @@ -47,6 +47,8 @@ TextArea { horizontalAlignment: TextInput.AlignLeft selectByMouse: true color: MoneroComponents.Style.defaultFontColor + selectionColor: MoneroComponents.Style.dimmedFontColor + selectedTextColor: MoneroComponents.Style.defaultFontColor wrapMode: { if(wrapAnywhere){