aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-24 21:06:12 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:04 +0100
commit06bda869e081a874ef6d7fae377970c7a8ace42a (patch)
treedf084d598d54cac2e2143d8339a21ae5faa1e2d7
parentc001e312410efe8f883bb5163e5554d84126c034 (diff)
downloadmonzero-gui-06bda869e081a874ef6d7fae377970c7a8ace42a.tar.gz
monzero-gui-06bda869e081a874ef6d7fae377970c7a8ace42a.tar.xz
monzero-gui-06bda869e081a874ef6d7fae377970c7a8ace42a.zip
font.bold for amount/address/paymentid on the transfer page
-rw-r--r--components/InputMulti.qml3
-rw-r--r--components/LineEditMulti.qml2
-rw-r--r--pages/Transfer.qml3
3 files changed, 7 insertions, 1 deletions
diff --git a/components/InputMulti.qml b/components/InputMulti.qml
index 2839db3a..9917eb52 100644
--- a/components/InputMulti.qml
+++ b/components/InputMulti.qml
@@ -38,11 +38,12 @@ TextArea {
property bool addressValidation: false
property bool wrapAnywhere: true
property int fontSize: 18 * scaleRatio
+ property bool fontBold: false
id: textArea
font.family: Style.fontRegular.name
font.pixelSize: fontSize
- font.bold: false
+ font.bold: fontBold
horizontalAlignment: TextInput.AlignLeft
selectByMouse: true
color: Style.defaultFontColor
diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml
index b0669aaa..8609aaa4 100644
--- a/components/LineEditMulti.qml
+++ b/components/LineEditMulti.qml
@@ -46,6 +46,7 @@ ColumnLayout {
property bool wrapAnywhere: true
property bool showingHeader: true
property bool showBorder: true
+ property bool fontBold: false
property int fontSize: 16 * scaleRatio
signal labelButtonClicked();
@@ -103,6 +104,7 @@ ColumnLayout {
bottomPadding: 10 * scaleRatio
wrapAnywhere: parent.wrapAnywhere
fontSize: parent.fontSize
+ fontBold: parent.fontBold
Text {
id: placeholderLabel
diff --git a/pages/Transfer.qml b/pages/Transfer.qml
index f9c91396..a3e038a3 100644
--- a/pages/Transfer.qml
+++ b/pages/Transfer.qml
@@ -189,6 +189,7 @@ Rectangle {
labelText: qsTr("Amount") + translationManager.emptyString
placeholderText: qsTr("") + translationManager.emptyString
width: 100
+ fontBold: true
inlineButtonText: qsTr("All") + translationManager.emptyString
inlineButton.onClicked: amountLine.text = "(all)"
@@ -252,6 +253,7 @@ Rectangle {
LineEditMulti {
id: addressLine
spacing: 0
+ fontBold: true
labelText: qsTr("<style type='text/css'>a {text-decoration: none; color: #858585; font-size: 14px;}</style>\
Address <font size='2'> ( </font> <a href='#'>Address book</a><font size='2'> )</font>")
+ translationManager.emptyString
@@ -308,6 +310,7 @@ Rectangle {
// payment id input
LineEdit {
id: paymentIdLine
+ fontBold: true
labelText: qsTr("Payment ID <font size='2'>( Optional )</font>") + translationManager.emptyString
placeholderText: qsTr("16 or 64 hexadecimal characters") + translationManager.emptyString
Layout.fillWidth: true