Shorten line length

This commit is contained in:
pedromvpg 2020-08-05 14:59:19 -04:00
parent 5a16db8440
commit 636e20f1c6
No known key found for this signature in database
GPG Key ID: 0DF7850C70C0BC14

View File

@ -316,15 +316,17 @@ public class MainView extends InitializableView<StackPane, MainViewModel>
} }
}); });
HBox primaryNav = new HBox(marketButton, getNavigationSeparator(), buyButton, getNavigationSeparator(), HBox primaryNav = new HBox(marketButton, getNavigationSeparator(), buyButton,
sellButton, getNavigationSeparator(), portfolioButtonWithBadge, getNavigationSeparator(), fundsButton); getNavigationSeparator(), sellButton, getNavigationSeparator(),
portfolioButtonWithBadge, getNavigationSeparator(), fundsButton);
primaryNav.setAlignment(Pos.CENTER); primaryNav.setAlignment(Pos.CENTER);
primaryNav.getStyleClass().add("nav-primary"); primaryNav.getStyleClass().add("nav-primary");
HBox.setHgrow(primaryNav, Priority.SOMETIMES); HBox.setHgrow(primaryNav, Priority.SOMETIMES);
HBox secondaryNav = new HBox(supportButtonWithBadge, getNavigationSeparator(), settingsButton, HBox secondaryNav = new HBox(supportButtonWithBadge, getNavigationSeparator(),
getNavigationSeparator(), accountButtonWithBadge, getNavigationSeparator(), daoButtonWithBadge); settingsButton, getNavigationSeparator(), accountButtonWithBadge,
getNavigationSeparator(), daoButtonWithBadge);
secondaryNav.getStyleClass().add("nav-secondary"); secondaryNav.getStyleClass().add("nav-secondary");
HBox.setHgrow(secondaryNav, Priority.SOMETIMES); HBox.setHgrow(secondaryNav, Priority.SOMETIMES);