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"]) {
|
field(messages["transfer.money.dialog.amount.label"]) {
|
||||||
anchorpane {
|
hbox {
|
||||||
|
alignment = Pos.CENTER_RIGHT
|
||||||
|
|
||||||
doubleTextfield(amount, false) {
|
doubleTextfield(amount, false) {
|
||||||
fixedHeight = TextFieldHeight
|
fixedHeight = TextFieldHeight
|
||||||
fixedWidth = 100.0
|
fixedWidth = 100.0
|
||||||
|
@ -139,21 +141,12 @@ open class TransferMoneyDialog @JvmOverloads constructor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
anchorpaneConstraints {
|
hboxConstraints {
|
||||||
topAnchor = 0.0
|
marginRight = 8.0
|
||||||
rightAnchor = 20.0
|
|
||||||
bottomAnchor = 0.0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
label(selectedBankAccount.value?.currency ?: "€") {
|
label(selectedBankAccount.value?.currency ?: "€")
|
||||||
|
|
||||||
anchorpaneConstraints {
|
|
||||||
topAnchor = 0.0
|
|
||||||
rightAnchor = 0.0
|
|
||||||
bottomAnchor = 0.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue