Closed defuncart closed 9 months ago
Could you add a screenshot of what this looks like?
@ted-marozzi Added screenshots. Will investigate the failing tests.
Not sure why the tests are failing with pixel overflow, using the test code in example app leads to no pixel overflow.
Maybe try run that test code in the example as an end to end test to visually see whats going on
Took another look and figured out the issue. Working nicely now 👍
While merging #12 and #14 on a local branch, there are some merge conflicts and I think it is better to merge #12 and then #14 into master, as the solution to #14 should be updated once #12 is merged. Thus marking #14 as draft.
@defuncart #12 is merged now :)
Use case: I have two columns, left one is right aligned, and right is left aligned. I would like to add some space between them but keep the alignment.
What I tried:
GridColumn
&GridCell
add paddingEdgeInsets.only(right: 16)
-> This will result in the cell being wider, correct padding is between row cells, however column cells will have padding between text and icon, when the desired result is between cells.Solution: Add optional spacing between columns which defaults to 0.
Showcase: Here is the standard example and here with column spacing of 24px which is applied evening between all columns and after the last column
Future ideas: Perhaps an enum could be introduced so that spacing is only between all columns, also between + before first, between + after last, or before first + between + after last.