aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-02-01 01:00:55 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-02-01 01:00:55 -0600
commit73d6b2744ede220a291c649e7213ef0795cd7c86 (patch)
tree1748b3cdef49e5f9c94118585796e22ee6e65d1b /components
parentb78968b9d5c223b0777e710c8ba6d5c3f69fca9c (diff)
parent4b78ef71dc865bfbc00bd504e3a48c8f275ba238 (diff)
downloadmonzero-gui-73d6b2744ede220a291c649e7213ef0795cd7c86.tar.gz
monzero-gui-73d6b2744ede220a291c649e7213ef0795cd7c86.tar.xz
monzero-gui-73d6b2744ede220a291c649e7213ef0795cd7c86.zip
Merge pull request #1872
4b78ef7 Use MoneroComponents for keys page and make warningbox selectable (xmrdsc)
Diffstat (limited to 'components')
-rw-r--r--components/WarningBox.qml9
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.