Fixed that DoubleTextfield overlapped with Label when bank account's currency was set e.g. to "EUR" (= a broader value than '€')
This commit is contained in:
parent
f13eb168a5
commit
2aad114d55
|
@ -127,7 +127,9 @@ open class TransferMoneyDialog @JvmOverloads constructor(
|
|||
}
|
||||
|
||||
field(messages["transfer.money.dialog.amount.label"]) {
|
||||
anchorpane {
|
||||
hbox {
|
||||
alignment = Pos.CENTER_RIGHT
|
||||
|
||||
doubleTextfield(amount, false) {
|
||||
fixedHeight = TextFieldHeight
|
||||
fixedWidth = 100.0
|
||||
|
@ -139,21 +141,12 @@ open class TransferMoneyDialog @JvmOverloads constructor(
|
|||
}
|
||||
}
|
||||
|
||||
anchorpaneConstraints {
|
||||
topAnchor = 0.0
|
||||
rightAnchor = 20.0
|
||||
bottomAnchor = 0.0
|
||||
hboxConstraints {
|
||||
marginRight = 8.0
|
||||
}
|
||||
}
|
||||
|
||||
label(selectedBankAccount.value?.currency ?: "€") {
|
||||
|
||||
anchorpaneConstraints {
|
||||
topAnchor = 0.0
|
||||
rightAnchor = 0.0
|
||||
bottomAnchor = 0.0
|
||||
}
|
||||
}
|
||||
label(selectedBankAccount.value?.currency ?: "€")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue