center icons for trade with warning

This commit is contained in:
woodser 2025-05-21 10:47:46 -04:00
parent bac515d5ca
commit a04acb9d77
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF

View file

@ -978,8 +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);
hBox.setTranslateX(7); // correlates with .compact-button, .table-cell .jfx-button, .action-button.compact-button
hBox.getChildren().addAll(warnIconButton, trashIconButton); hBox.getChildren().addAll(warnIconButton, trashIconButton);
setGraphic(hBox); setGraphic(hBox);
} else { } else {