From 4b78ef71dc865bfbc00bd504e3a48c8f275ba238 Mon Sep 17 00:00:00 2001 From: skftn Date: Sun, 30 Dec 2018 00:24:39 +0100 Subject: Use MoneroComponents for keys page and make warningbox selectable --- components/WarningBox.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'components/WarningBox.qml') diff --git a/components/WarningBox.qml b/components/WarningBox.qml index c71b896a..c1d6dec6 100644 --- a/components/WarningBox.qml +++ b/components/WarningBox.qml @@ -17,9 +17,9 @@ Rectangle { radius: 4 border.color: MoneroComponents.Style.inputBorderColorInActive border.width: 1 - + signal linkActivated; - + RowLayout { id: warningLayout spacing: 0 @@ -44,13 +44,14 @@ Rectangle { font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: root.fontSize horizontalAlignment: TextInput.AlignLeft - selectByMouse: false + selectionColor: MoneroComponents.Style.dimmedFontColor + selectByMouse: true textFormat: Text.RichText wrapMode: Text.WordWrap textMargin: 0 leftPadding: 0 topPadding: 6 - readOnly: true + readOnly: false onLinkActivated: root.linkActivated(); // @TODO: Legacy. Remove after Qt 5.8. -- cgit v1.2.3