mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-22 22:04:22 -04:00
move settings tab to last
This commit is contained in:
parent
c2fbd4b16f
commit
e3946f3aba
1 changed files with 5 additions and 5 deletions
|
@ -172,8 +172,8 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||||
ToggleButton fundsButton = new NavButton(FundsView.class, Res.get("mainView.menu.funds").toUpperCase());
|
ToggleButton fundsButton = new NavButton(FundsView.class, Res.get("mainView.menu.funds").toUpperCase());
|
||||||
|
|
||||||
ToggleButton supportButton = new NavButton(SupportView.class, Res.get("mainView.menu.support"));
|
ToggleButton supportButton = new NavButton(SupportView.class, Res.get("mainView.menu.support"));
|
||||||
ToggleButton settingsButton = new NavButton(SettingsView.class, Res.get("mainView.menu.settings"));
|
|
||||||
ToggleButton accountButton = new NavButton(AccountView.class, Res.get("mainView.menu.account"));
|
ToggleButton accountButton = new NavButton(AccountView.class, Res.get("mainView.menu.account"));
|
||||||
|
ToggleButton settingsButton = new NavButton(SettingsView.class, Res.get("mainView.menu.settings"));
|
||||||
|
|
||||||
JFXBadge portfolioButtonWithBadge = new JFXBadge(portfolioButton);
|
JFXBadge portfolioButtonWithBadge = new JFXBadge(portfolioButton);
|
||||||
JFXBadge supportButtonWithBadge = new JFXBadge(supportButton);
|
JFXBadge supportButtonWithBadge = new JFXBadge(supportButton);
|
||||||
|
@ -199,10 +199,10 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||||
fundsButton.fire();
|
fundsButton.fire();
|
||||||
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT6, keyEvent)) {
|
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT6, keyEvent)) {
|
||||||
supportButton.fire();
|
supportButton.fire();
|
||||||
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT7, keyEvent)) {
|
|
||||||
settingsButton.fire();
|
|
||||||
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT8, keyEvent)) {
|
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT8, keyEvent)) {
|
||||||
accountButton.fire();
|
accountButton.fire();
|
||||||
|
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT7, keyEvent)) {
|
||||||
|
settingsButton.fire();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -305,8 +305,8 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||||
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, getNavigationSpacer(), settingsButtonWithBadge,
|
HBox secondaryNav = new HBox(supportButtonWithBadge, getNavigationSpacer(), accountButton,
|
||||||
getNavigationSpacer(), accountButton, getNavigationSpacer());
|
getNavigationSpacer(), settingsButtonWithBadge, getNavigationSpacer());
|
||||||
secondaryNav.getStyleClass().add("nav-secondary");
|
secondaryNav.getStyleClass().add("nav-secondary");
|
||||||
HBox.setHgrow(secondaryNav, Priority.SOMETIMES);
|
HBox.setHgrow(secondaryNav, Priority.SOMETIMES);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue