angular-grid-layout icon indicating copy to clipboard operation
angular-grid-layout copied to clipboard

FEATURES REQUEST -

Open MrMime opened this issue 3 years ago • 1 comments

It would be usefull an option to force every element in a row to have the same height.

Ex.

I have three elements on row. All with height 1. When I change height of one of them, the others height will be adjust to the same height. So every elements in a row has always the same height.

Thanks

MrMime avatar Feb 10 '22 11:02 MrMime

It seems a super niche feature IMO. I don't see it integrated as a standalone feature. What is your actual use case? Can you explain a little bit?

One option I see is expose some kind of callback before each resizing layout update occurs, and there you could do whatever you want... but still, is not a thing that I would like to put, since it has some troubleshooting.

For now, what you can do is: when layout is updated, you loop for each item and set the desired height. After that, you call the KtdGridCompact function, that positions correctly the layout. It would be a provisional solution.

llorenspujol avatar Feb 18 '22 09:02 llorenspujol

Workarounds for this feature are possible, it is also too specific to implement within the library. Closing it for now.

llorenspujol avatar Jan 03 '23 15:01 llorenspujol