From 9f5cf3f7059456ad8b32cdefdaca137e789a4709 Mon Sep 17 00:00:00 2001 From: chimp1984 Date: Sun, 20 Dec 2020 19:57:30 -0500 Subject: [PATCH 1/2] Move BSQ price in USD at first row. --- .../dao/economy/dashboard/BsqDashboardView.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/main/dao/economy/dashboard/BsqDashboardView.java b/desktop/src/main/java/bisq/desktop/main/dao/economy/dashboard/BsqDashboardView.java index 7cf25b4f3d2..07932d38e67 100644 --- a/desktop/src/main/java/bisq/desktop/main/dao/economy/dashboard/BsqDashboardView.java +++ b/desktop/src/main/java/bisq/desktop/main/dao/economy/dashboard/BsqDashboardView.java @@ -150,13 +150,6 @@ private void createKPIs() { marketPriceBox.second.getStyleClass().add("dao-kpi-subtext"); - avgPrice90TextField = addTopLabelReadOnlyTextField(root, ++gridRow, - Res.get("dao.factsAndFigures.dashboard.avgPrice90")).second; - - avgPrice30TextField = addTopLabelTextFieldWithIcon(root, gridRow, 1, - Res.get("dao.factsAndFigures.dashboard.avgPrice30"), -15).second; - AnchorPane.setRightAnchor(avgPrice30TextField.getIconLabel(), 10d); - avgUSDPrice90TextField = addTopLabelReadOnlyTextField(root, ++gridRow, Res.get("dao.factsAndFigures.dashboard.avgUSDPrice90")).second; @@ -164,6 +157,13 @@ private void createKPIs() { Res.get("dao.factsAndFigures.dashboard.avgUSDPrice30"), -15).second; AnchorPane.setRightAnchor(avgUSDPrice30TextField.getIconLabel(), 10d); + avgPrice90TextField = addTopLabelReadOnlyTextField(root, ++gridRow, + Res.get("dao.factsAndFigures.dashboard.avgPrice90")).second; + + avgPrice30TextField = addTopLabelTextFieldWithIcon(root, gridRow, 1, + Res.get("dao.factsAndFigures.dashboard.avgPrice30"), -15).second; + AnchorPane.setRightAnchor(avgPrice30TextField.getIconLabel(), 10d); + marketCapTextField = addTopLabelReadOnlyTextField(root, ++gridRow, Res.get("dao.factsAndFigures.dashboard.marketCap")).second; From 20771e4ec677e36198648ff09abe5d88bbab2060 Mon Sep 17 00:00:00 2001 From: chimp1984 Date: Sun, 20 Dec 2020 20:09:24 -0500 Subject: [PATCH 2/2] Force travis rebuild --- .../desktop/main/dao/economy/dashboard/BsqDashboardView.java | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop/src/main/java/bisq/desktop/main/dao/economy/dashboard/BsqDashboardView.java b/desktop/src/main/java/bisq/desktop/main/dao/economy/dashboard/BsqDashboardView.java index 07932d38e67..693ec87cd61 100644 --- a/desktop/src/main/java/bisq/desktop/main/dao/economy/dashboard/BsqDashboardView.java +++ b/desktop/src/main/java/bisq/desktop/main/dao/economy/dashboard/BsqDashboardView.java @@ -171,7 +171,6 @@ private void createKPIs() { Res.get("dao.factsAndFigures.dashboard.availableAmount")).second; } - @Override protected void activate() { daoFacade.addBsqStateListener(this);