Merge pull request #1872

4b78ef7 Use MoneroComponents for keys page and make warningbox selectable (xmrdsc)
This commit is contained in:
luigi1111
2019-02-01 01:00:55 -06:00
2 changed files with 29 additions and 105 deletions

View File

@@ -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.