mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Merge pull request #5087 from ripcurlx/improve-responsiveness
Keep main navigation items left aligned
This commit is contained in:
commit
71b6b84b43
2 changed files with 3 additions and 1 deletions
|
@ -658,10 +658,12 @@ tree-table-view:focused {
|
||||||
-fx-padding: 0 11 0 11;
|
-fx-padding: 0 11 0 11;
|
||||||
-fx-border-width: 0 1 0 0;
|
-fx-border-width: 0 1 0 0;
|
||||||
-fx-border-color: -bs-rd-nav-primary-border;
|
-fx-border-color: -bs-rd-nav-primary-border;
|
||||||
|
-fx-min-width: 410;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-secondary {
|
.nav-secondary {
|
||||||
-fx-padding: 0 11 0 11;
|
-fx-padding: 0 11 0 11;
|
||||||
|
-fx-min-width: 296;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-price-balance {
|
.nav-price-balance {
|
||||||
|
|
|
@ -336,7 +336,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel>
|
||||||
priceAndBalance.setSpacing(9);
|
priceAndBalance.setSpacing(9);
|
||||||
priceAndBalance.getStyleClass().add("nav-price-balance");
|
priceAndBalance.getStyleClass().add("nav-price-balance");
|
||||||
|
|
||||||
HBox navPane = new HBox(primaryNav, secondaryNav,
|
HBox navPane = new HBox(primaryNav, secondaryNav, getNavigationSpacer(),
|
||||||
priceAndBalance) {{
|
priceAndBalance) {{
|
||||||
setLeftAnchor(this, 0d);
|
setLeftAnchor(this, 0d);
|
||||||
setRightAnchor(this, 0d);
|
setRightAnchor(this, 0d);
|
||||||
|
|
Loading…
Add table
Reference in a new issue