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

Suggest for a item scaling options #22

Open
agat opened this issue May 8, 2024 · 0 comments
Open

Suggest for a item scaling options #22

agat opened this issue May 8, 2024 · 0 comments

Comments

@agat
Copy link

agat commented May 8, 2024

Thanks for an awesome lib!

Some suggestions from me - add an item scaling option.

I use this lib for non-image items, I know all items' heights and I like of width auto-scaling to column width. But now I get another item height in the generated layout. Due to this logic:

rectangle.height = rectangle.height * (this.width / rectangle.width);

Maybe we can make these calculations (width or height) optional?

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

No branches or pull requests

1 participant