Skip to content

Commit

Permalink
Shorten line lenght
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromvpg committed Aug 5, 2020
1 parent 5a16db8 commit 48f1c90
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions desktop/src/main/java/bisq/desktop/main/MainView.java
Expand Up @@ -316,15 +316,17 @@ protected Tooltip computeValue() {
}
});

HBox primaryNav = new HBox(marketButton, getNavigationSeparator(), buyButton, getNavigationSeparator(),
sellButton, getNavigationSeparator(), portfolioButtonWithBadge, getNavigationSeparator(), fundsButton);
HBox primaryNav = new HBox(marketButton, getNavigationSeparator(), buyButton,
getNavigationSeparator(), sellButton, getNavigationSeparator(),
portfolioButtonWithBadge, getNavigationSeparator(), fundsButton);

primaryNav.setAlignment(Pos.CENTER);
primaryNav.getStyleClass().add("nav-primary");
HBox.setHgrow(primaryNav, Priority.SOMETIMES);

HBox secondaryNav = new HBox(supportButtonWithBadge, getNavigationSeparator(), settingsButton,
getNavigationSeparator(), accountButtonWithBadge, getNavigationSeparator(), daoButtonWithBadge);
HBox secondaryNav = new HBox(supportButtonWithBadge, getNavigationSeparator(),
settingsButton, getNavigationSeparator(), accountButtonWithBadge,
getNavigationSeparator(), daoButtonWithBadge);
secondaryNav.getStyleClass().add("nav-secondary");
HBox.setHgrow(secondaryNav, Priority.SOMETIMES);

Expand Down

0 comments on commit 48f1c90

Please sign in to comment.