Masonry View implementation
I have a dynamic panel which has several material cards inside it . All of them have different heights according to their respective content. If I set the layout as horizontal and use horizontal wrap, it will place my cards right horizontally but the problem arises when I have to place the cards in second row according to the different ending heights of cards in the first row. How should I calculate the height of the card above and add vertical spacing according to it?
Instead of using a horizontal layout, we suggest using a free layout, but pinning the cards to the top of the panel using the pin position options in the properties panel. For the second row of cards, pin them to the center or bottom of the panel and then alter the margin so that it is lower than the card above it.
Instead of using a horizontal layout, we suggest using a free layout, but pinning the cards to the top of the panel using the pin position options in the properties panel. For the second row of cards, pin them to the center or bottom of the panel and then alter the margin so that it is lower than the card above it.
Instead of using a horizontal layout, we suggest using a free layout, but pinning the cards to the top of the panel using the pin position options in the properties panel. For the second row of cards, pin them to the center or bottom of the panel and then alter the margin so that it is lower than the card above it.
Instead of using a horizontal layout, we suggest using a free layout, but pinning the cards to the top of the panel using the pin position options in the properties panel. For the second row of cards, pin them to the center or bottom of the panel and then alter the margin so that it is lower than the card above it.
Replies have been locked on this page!