mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Fix issue with badge icon and increased spacing of main menu items
This commit is contained in:
parent
0690fc1a18
commit
ae10cb6c4e
1 changed files with 2 additions and 4 deletions
|
@ -233,8 +233,8 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||||
root.widthProperty().addListener((observable, oldValue, newValue) -> {
|
root.widthProperty().addListener((observable, oldValue, newValue) -> {
|
||||||
double w = (double) newValue;
|
double w = (double) newValue;
|
||||||
if (w > 0) {
|
if (w > 0) {
|
||||||
leftNavPane.setSpacing(w >= 1080 ? 10 : 5);
|
leftNavPane.setSpacing(w >= 1080 ? 12 : 6);
|
||||||
rightNavPane.setSpacing(w >= 1080 ? 10 : 5);
|
rightNavPane.setSpacing(w >= 1080 ? 12 : 6);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -675,7 +675,6 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||||
label.setId("nav-alert-label");
|
label.setId("nav-alert-label");
|
||||||
|
|
||||||
ImageView icon = new ImageView();
|
ImageView icon = new ImageView();
|
||||||
icon.setLayoutX(0.5);
|
|
||||||
icon.setId("image-alert-round");
|
icon.setId("image-alert-round");
|
||||||
|
|
||||||
Pane notification = new Pane();
|
Pane notification = new Pane();
|
||||||
|
@ -694,7 +693,6 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||||
label.setId("nav-alert-label");
|
label.setId("nav-alert-label");
|
||||||
|
|
||||||
ImageView icon = new ImageView();
|
ImageView icon = new ImageView();
|
||||||
icon.setLayoutX(0.5);
|
|
||||||
icon.setId("image-alert-round");
|
icon.setId("image-alert-round");
|
||||||
|
|
||||||
Pane notification = new Pane();
|
Pane notification = new Pane();
|
||||||
|
|
Loading…
Add table
Reference in a new issue