fix vertical alignment of fixed price swap arrows

This commit is contained in:
woodser 2025-07-07 20:45:19 -04:00 committed by GitHub
parent ea506ecaf2
commit 384e771712
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1523,7 +1523,7 @@ public abstract class MutableOfferView<M extends MutableOfferViewModel<?>> exten
// Fixed/Percentage toggle
priceTypeToggleButton = getIconButton(MaterialDesignIcon.SWAP_VERTICAL);
editOfferElements.add(priceTypeToggleButton);
HBox.setMargin(priceTypeToggleButton, new Insets(16, 1.5, 0, 0));
HBox.setMargin(priceTypeToggleButton, new Insets(25, 1.5, 0, 0));
priceTypeToggleButton.setOnAction((actionEvent) ->
updatePriceToggleButtons(model.getDataModel().getUseMarketBasedPrice().getValue()));