Open dovdovrandom opened 4 years ago
Have you tried calling grid.refreshItems().layout()
after the dimensions of items have changed?
@niklasramo
Yes, i did.
not sure why its not working...
@dovdovrandom Can you post a live codepen demo for example? I doubt anyone can help you out without a live demo.
i have a button that toggles a class on the .board-item-content items, to lower their padding (as an option to condense the screen real estate..)
however, when it adjusts the padding, it doesnt resize the container automatically. How can i achieve this result? ty!
What happens:![image](https://user-images.githubusercontent.com/64181867/81503092-bf9eaa00-92af-11ea-8857-de5b45b783d3.png)
What should happen:![image](https://user-images.githubusercontent.com/64181867/81503107-cb8a6c00-92af-11ea-89e0-a8bd0c127aac.png)