aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-27 22:04:18 +0200
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:04 +0100
commitd98221ac56140b3e7a0b0b0348b6d06bfb9abb77 (patch)
tree2ca664df0bee0b5a64999f2c9e6731ad505d9d5e /components
parent6e503cd0e2a18dda13aa8f79786efc6c6c68eee4 (diff)
downloadmonzero-gui-d98221ac56140b3e7a0b0b0348b6d06bfb9abb77.tar.gz
monzero-gui-d98221ac56140b3e7a0b0b0348b6d06bfb9abb77.tar.xz
monzero-gui-d98221ac56140b3e7a0b0b0348b6d06bfb9abb77.zip
Fixes the placeholder texts for RemoteNodeEdit in the wallet creation wizard
Diffstat (limited to 'components')
-rw-r--r--components/RemoteNodeEdit.qml20
1 files changed, 19 insertions, 1 deletions
diff --git a/components/RemoteNodeEdit.qml b/components/RemoteNodeEdit.qml
index 4d44c156..6655e629 100644
--- a/components/RemoteNodeEdit.qml
+++ b/components/RemoteNodeEdit.qml
@@ -40,6 +40,14 @@ GridLayout {
property alias daemonAddrLabelText: daemonAddr.labelText
property alias daemonPortLabelText: daemonPort.labelText
+ // TODO: LEGACY; remove these placeHolder variables when
+ // the wizards get redesigned to the black-theme
+ property string placeholderFontFamily: Style.fontRegular.name
+ property bool placeholderFontBold: false
+ property int placeholderFontSize: 18 * scaleRatio
+ property string placeholderColor: Style.defaultFontColor
+ property real placeholderOpacity: 0.25
+
property string lineEditBorderColor: Qt.rgba(0, 0, 0, 0.15)
property string lineEditBackgroundColor: "white"
property string lineEditFontColor: "black"
@@ -55,6 +63,11 @@ GridLayout {
id: daemonAddr
Layout.fillWidth: true
placeholderText: qsTr("Remote Node Hostname / IP") + translationManager.emptyString
+ placeholderFontFamily: root.placeholderFontFamily
+ placeholderFontBold: root.placeholderFontBold
+ placeholderFontSize: root.placeholderFontSize
+ placeholderColor: root.placeholderColor
+ placeholderOpacity: root.placeholderOpacity
onEditingFinished: root.editingFinished()
borderColor: lineEditBorderColor
backgroundColor: lineEditBackgroundColor
@@ -66,8 +79,13 @@ GridLayout {
id: daemonPort
Layout.fillWidth: true
placeholderText: qsTr("Port") + translationManager.emptyString
+ placeholderFontFamily: root.placeholderFontFamily
+ placeholderFontBold: root.placeholderFontBold
+ placeholderFontSize: root.placeholderFontSize
+ placeholderColor: root.placeholderColor
+ placeholderOpacity: root.placeholderOpacity
onEditingFinished: root.editingFinished()
-
+ legacyWizardStyle: true
borderColor: lineEditBorderColor
backgroundColor: lineEditBackgroundColor
fontColor: lineEditFontColor