mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Use BisqTextField to align top label right
This commit is contained in:
parent
5238a61f4f
commit
cba70566f7
@ -47,7 +47,7 @@ public class BalanceTextField extends AnchorPane {
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public BalanceTextField(String label) {
|
||||
textField = new JFXTextField();
|
||||
textField = new BisqTextField();
|
||||
textField.setLabelFloat(true);
|
||||
textField.setPromptText(label);
|
||||
textField.setFocusTraversable(false);
|
||||
|
@ -58,7 +58,7 @@ public class InfoTextField extends AnchorPane {
|
||||
public InfoTextField() {
|
||||
|
||||
arrowLocation = PopOver.ArrowLocation.RIGHT_TOP;;
|
||||
textField = new JFXTextField();
|
||||
textField = new BisqTextField();
|
||||
textField.setLabelFloat(true);
|
||||
textField.setEditable(false);
|
||||
textField.textProperty().bind(text);
|
||||
|
Loading…
Reference in New Issue
Block a user