code cleanup

This commit is contained in:
woodser 2025-06-05 15:54:12 -04:00
parent eae0b250a0
commit 6a132b2daf
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
2 changed files with 1 additions and 2 deletions

View file

@ -622,7 +622,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
splashP2PNetworkIcon.setFitHeight(networkIconSize); splashP2PNetworkIcon.setFitHeight(networkIconSize);
splashP2PNetworkIcon.setVisible(false); splashP2PNetworkIcon.setVisible(false);
splashP2PNetworkIcon.setManaged(false); splashP2PNetworkIcon.setManaged(false);
HBox.setMargin(splashP2PNetworkIcon, new Insets(0, 0,0, 0)); HBox.setMargin(splashP2PNetworkIcon, new Insets(0, 0, 0, 0));
splashP2PNetworkIcon.setOnMouseClicked(e -> { splashP2PNetworkIcon.setOnMouseClicked(e -> {
torNetworkSettingsWindow.show(); torNetworkSettingsWindow.show();
}); });

View file

@ -978,7 +978,6 @@ public class PendingTradesView extends ActivatableViewAndModel<VBox, PendingTrad
HBox hBox = new HBox(); HBox hBox = new HBox();
hBox.setSpacing(0); hBox.setSpacing(0);
//hBox.setAlignment(Pos.CENTER); // so spacing is consistent with column to the left
hBox.getChildren().addAll(warnIconButton, trashIconButton); hBox.getChildren().addAll(warnIconButton, trashIconButton);
setGraphic(hBox); setGraphic(hBox);
} else { } else {