From 3c6adafc156a2401ce49b28e931ffb4ff6b8afed Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Tue, 6 Oct 2020 14:50:25 +0200 Subject: [PATCH] tweak help copy and ui --- .../com/sparrowwallet/sparrow/control/HelpLabel.java | 2 +- .../resources/com/sparrowwallet/sparrow/darktheme.css | 4 ++++ .../com/sparrowwallet/sparrow/preferences/general.fxml | 10 +++++----- .../com/sparrowwallet/sparrow/wallet/advanced.fxml | 2 +- .../com/sparrowwallet/sparrow/wallet/keystore.fxml | 4 ++-- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/control/HelpLabel.java b/src/main/java/com/sparrowwallet/sparrow/control/HelpLabel.java index c579c2b4..7884a6a0 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/HelpLabel.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/HelpLabel.java @@ -36,7 +36,7 @@ public class HelpLabel extends Label { private StringProperty helpText; public final void setHelpText(String value) { - helpTextProperty().setValue(value); + helpTextProperty().setValue(value.replace("\\n", "\n")); } public final String getHelpText() { diff --git a/src/main/resources/com/sparrowwallet/sparrow/darktheme.css b/src/main/resources/com/sparrowwallet/sparrow/darktheme.css index 10a377b7..1bc82592 100644 --- a/src/main/resources/com/sparrowwallet/sparrow/darktheme.css +++ b/src/main/resources/com/sparrowwallet/sparrow/darktheme.css @@ -81,6 +81,10 @@ -fx-bar-fill: rgba(135, 138, 149, 0.5); } +.root .titled-description-pane .status-error .text, .root .titled-description-pane .description-error .text { + -fx-fill: #e06c75; +} + #inputsPie .default-color0.chart-pie { -fx-pie-color: #e06c75; } diff --git a/src/main/resources/com/sparrowwallet/sparrow/preferences/general.fxml b/src/main/resources/com/sparrowwallet/sparrow/preferences/general.fxml index ff96af44..88dda0c2 100644 --- a/src/main/resources/com/sparrowwallet/sparrow/preferences/general.fxml +++ b/src/main/resources/com/sparrowwallet/sparrow/preferences/general.fxml @@ -39,7 +39,7 @@ - +
@@ -61,21 +61,21 @@
- + - +
- + - +
diff --git a/src/main/resources/com/sparrowwallet/sparrow/wallet/advanced.fxml b/src/main/resources/com/sparrowwallet/sparrow/wallet/advanced.fxml index b603944c..655ecd54 100644 --- a/src/main/resources/com/sparrowwallet/sparrow/wallet/advanced.fxml +++ b/src/main/resources/com/sparrowwallet/sparrow/wallet/advanced.fxml @@ -28,7 +28,7 @@
- +
diff --git a/src/main/resources/com/sparrowwallet/sparrow/wallet/keystore.fxml b/src/main/resources/com/sparrowwallet/sparrow/wallet/keystore.fxml index 7e5dff7f..cf87e782 100644 --- a/src/main/resources/com/sparrowwallet/sparrow/wallet/keystore.fxml +++ b/src/main/resources/com/sparrowwallet/sparrow/wallet/keystore.fxml @@ -41,10 +41,10 @@ - + - +