With Row
and Column
classes children Component
s could be placed and layouted correctly without overlapping and without having to care about repeating size and position calculations.
In my games i often have Component
s (Sprites, buttons, etc.) which have to be placed either in rows or columns, where it's always quite an effort to calculate their positions and sizes.
The goal of the suggested two classes would be to make these calculations transparent for the developer.
Flutter-like Row
and Column
classes with alignment options for both axes (i.e. mainAxisAlignment
and crossAxisAlignment
).
Some ideas:
PositionComponent
themselvesPositionComponent
extending classes (since getting their size is important)Row
or Column
would need to re-layout the componentSizedBox
) - ok this can be accomplished by just adding a PositionComponent
with a size
definedPay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too