tweak top nav spacing for smallest window

This commit is contained in:
woodser 2025-06-02 11:26:45 -04:00
parent 0cdca528ea
commit 1fd911da50
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
2 changed files with 2 additions and 2 deletions

View file

@ -894,7 +894,7 @@ tree-table-view:focused {
-fx-background-color: -bs-rd-nav-background; -fx-background-color: -bs-rd-nav-background;
-fx-background-radius: 999; -fx-background-radius: 999;
-fx-border-radius: 999; -fx-border-radius: 999;
-fx-padding: 0 20 0 5; -fx-padding: 0 20 0 20;
} }
.nav-price-balance .separator:vertical .line { .nav-price-balance .separator:vertical .line {

View file

@ -319,7 +319,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
priceAndBalance.setSpacing(12); priceAndBalance.setSpacing(12);
priceAndBalance.getStyleClass().add("nav-price-balance"); priceAndBalance.getStyleClass().add("nav-price-balance");
HBox navPane = new HBox(primaryNav, getNavigationSpacer(), priceAndBalance) {{ HBox navPane = new HBox(primaryNav, priceAndBalance) {{
setLeftAnchor(this, 25d); setLeftAnchor(this, 25d);
setRightAnchor(this, 25d); setRightAnchor(this, 25d);
setTopAnchor(this, 20d); setTopAnchor(this, 20d);