Added IDs to controls so that clients know where to insert controls
This commit is contained in:
parent
1007636a8e
commit
81515d1125
|
@ -20,6 +20,10 @@ open class AccountTransactionsControlView(
|
||||||
) : View() {
|
) : View() {
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
const val ControlsRightToSearchFieldPanelId = "ControlsRightToSearchFieldPanel"
|
||||||
|
|
||||||
|
const val ShowTransferMoneyDialogButtonId = "ShowTransferMoneyDialogButton"
|
||||||
|
|
||||||
const val PanelHeight = 36.0
|
const val PanelHeight = 36.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,6 +50,8 @@ open class AccountTransactionsControlView(
|
||||||
}
|
}
|
||||||
|
|
||||||
right = hbox {
|
right = hbox {
|
||||||
|
id = ControlsRightToSearchFieldPanelId
|
||||||
|
|
||||||
alignment = Pos.CENTER_LEFT
|
alignment = Pos.CENTER_LEFT
|
||||||
|
|
||||||
hbox {
|
hbox {
|
||||||
|
@ -82,6 +88,8 @@ open class AccountTransactionsControlView(
|
||||||
}
|
}
|
||||||
|
|
||||||
addButton {
|
addButton {
|
||||||
|
id = ShowTransferMoneyDialogButtonId
|
||||||
|
|
||||||
useMaxHeight = true
|
useMaxHeight = true
|
||||||
|
|
||||||
enableWhen(supportsTransferringMoney)
|
enableWhen(supportsTransferringMoney)
|
||||||
|
|
Loading…
Reference in New Issue