mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-26 20:30:55 +01:00
Merge pull request #4988 from chimp1984/rearrange-bsq-price-rows
Move BSQ price in USD at first row
This commit is contained in:
commit
6564c3fe7f
1 changed files with 7 additions and 8 deletions
|
@ -150,13 +150,6 @@ public class BsqDashboardView extends ActivatableView<GridPane, Void> implements
|
|||
|
||||
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 @@ public class BsqDashboardView extends ActivatableView<GridPane, Void> implements
|
|||
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;
|
||||
|
||||
|
@ -171,7 +171,6 @@ public class BsqDashboardView extends ActivatableView<GridPane, Void> implements
|
|||
Res.get("dao.factsAndFigures.dashboard.availableAmount")).second;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void activate() {
|
||||
daoFacade.addBsqStateListener(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue