diff options
| author | skftn <sa.ferdinand@gmail.com> | 2018-12-30 00:24:39 +0100 |
|---|---|---|
| committer | dsc <xmrdsc@protonmail.com> | 2019-01-24 09:07:19 +0100 |
| commit | 4b78ef71dc865bfbc00bd504e3a48c8f275ba238 (patch) | |
| tree | 7581ec6864a41bc5aca9caa919f91536457d894b /components | |
| parent | 9689fff957ba994b619a2a7fb881598a997f66c2 (diff) | |
| download | monzero-gui-4b78ef71dc865bfbc00bd504e3a48c8f275ba238.tar.gz monzero-gui-4b78ef71dc865bfbc00bd504e3a48c8f275ba238.tar.xz monzero-gui-4b78ef71dc865bfbc00bd504e3a48c8f275ba238.zip | |
Use MoneroComponents for keys page and make warningbox selectable
Diffstat (limited to 'components')
| -rw-r--r-- | components/WarningBox.qml | 9 |
1 files changed, 5 insertions, 4 deletions
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. |
