mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-10 00:39:32 -04:00
widen currency text box when creating offer
This commit is contained in:
parent
ed25756ae8
commit
ea506ecaf2
1 changed files with 2 additions and 0 deletions
|
@ -605,6 +605,7 @@ public abstract class MutableOfferView<M extends MutableOfferViewModel<?>> exten
|
|||
paymentTitledGroupBg.managedProperty().bind(paymentTitledGroupBg.visibleProperty());
|
||||
currencyComboBox.prefWidthProperty().bind(paymentAccountsComboBox.widthProperty());
|
||||
currencyComboBox.managedProperty().bind(currencyComboBox.visibleProperty());
|
||||
currencyTextFieldBox.prefWidthProperty().bind(paymentAccountsComboBox.widthProperty());
|
||||
currencyTextFieldBox.managedProperty().bind(currencyTextFieldBox.visibleProperty());
|
||||
}
|
||||
|
||||
|
@ -1038,6 +1039,7 @@ public abstract class MutableOfferView<M extends MutableOfferViewModel<?>> exten
|
|||
final Tuple3<Label, TextField, VBox> currencyTextFieldTuple = addTopLabelTextField(gridPane, gridRow, Res.get("shared.currency"), "", 5d);
|
||||
currencyTextField = currencyTextFieldTuple.second;
|
||||
currencyTextFieldBox = currencyTextFieldTuple.third;
|
||||
currencyTextFieldBox.setMaxWidth(tradingAccountBoxTuple.first.getMinWidth() / 2);
|
||||
currencyTextFieldBox.setVisible(false);
|
||||
editOfferElements.add(currencyTextFieldBox);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue