mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 19:05:02 -04:00
eros: InfoPane: fix action buttons not even on left/right
This commit is contained in:
parent
d6060e8b99
commit
01108b60ee
@ -72,7 +72,7 @@ class InfoPane<T>(vararg children: Node) : AnchorPane(*children) {
|
||||
}
|
||||
|
||||
GridPane().let {
|
||||
for (index in 0 until actions.size / 2) {
|
||||
for (index in 0 until (actions.size - 1) / 2) {
|
||||
it.columnConstraints += ColumnConstraints()
|
||||
}
|
||||
it.columnConstraints += ColumnConstraints(0.0, -1.0, Double.POSITIVE_INFINITY, Priority.ALWAYS, HPos.LEFT, true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user