Replies: 1 comment
-
I don't think most actors have If you're talking about actors that are stored in a table though, try the table {
label("Test").cell(align=Align.bottom)
} You can also access the cell with the lambda argument when you're using a configuration block and want to keep all of the settings next to each other: table {
label("Test") { cell ->
this.fontScaleY = 2f // Your custom widget settings.
cell.align(Align.bottom) // Table cell settings.
}
} Note that the You can find more examples in |
Beta Was this translation helpful? Give feedback.
-
Hi there,
would it make sense to make Actor's align property accessible in the apply method? For some reason (difficult layout adaptions on changing size, I guess) align property has no setter, therefore this is not possible:
It would be very pleasant to be able to do this. And code would look even tidier. Any thoughts? Cheers, Gem
Beta Was this translation helpful? Give feedback.
All reactions