Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add percentage-equal-column Fill Mode #917

Open
ddrocco opened this issue Nov 29, 2021 · 0 comments
Open

Add percentage-equal-column Fill Mode #917

ddrocco opened this issue Nov 29, 2021 · 0 comments

Comments

@ddrocco
Copy link

ddrocco commented Nov 29, 2021

Hi, I have need for an ember table which uses an equal-column fill mode on a percentage basis, e.g.:

['100px', '100px', '200px'] and inserting a new element with width ['100px'] for a table which is exactly 400px should yield these sizes:
['80px', '80px', '160px', '80px']

Currently, it'll pull equally from all regardless of size, yielding:
['66px', '67px', '167px', '100px'] or ['75px', '75px', '175px', '75px'] (not sure on the exact addition logic - it's pretty messy for my purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant