mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 22:45:21 +01:00
Increase top navigation button text size for Japanese locale
This commit is contained in:
parent
0d9d1bdd8c
commit
d32f390809
2 changed files with 8 additions and 0 deletions
|
@ -804,6 +804,10 @@ bg color of non edit textFields: fafafa
|
|||
-fx-fill: -bs-rd-nav-deselected;
|
||||
}
|
||||
|
||||
.nav-button-large .text {
|
||||
-fx-font-size: 1em;
|
||||
}
|
||||
|
||||
.nav-button:selected {
|
||||
-fx-background-color: -bs-rd-white;
|
||||
-fx-border-radius: 4;
|
||||
|
|
|
@ -809,6 +809,10 @@ public class MainView extends InitializableView<StackPane, MainViewModel>
|
|||
|
||||
this.setToggleGroup(navButtons);
|
||||
this.getStyleClass().add("nav-button");
|
||||
// Japanese fonts are dense, increase top nav button text size
|
||||
if (model.getPreferences().getUserLanguage().equals("ja")) {
|
||||
this.getStyleClass().add("nav-button-large");
|
||||
}
|
||||
|
||||
this.selectedProperty().addListener((ov, oldValue, newValue) -> this.setMouseTransparent(newValue));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue