Preview matrix rows 2..n don't implement top/bottom borders

settings:

notice how there is no gap between the top/bottom of cells

Hello @mikey, thanks for your feedback,

I think instead of using margins, you need to give a fixed height value (in pixels) to the matrix item (the 1st stylebox of the matrix) in order to display gaps between the top and the bottom of each cell.

Best regards.

if you look at the other thread i just posted, you will see that in studio, the margins are respected, so you might want to modify that behavior.

also, the horizontal margins seem to be respected, so you might want to change that behavior, too.

for the fixed height, do you mean like this (that doesn’t fix it, and, in fact, in studio, it removes the gaps that were rendering):

Yes @mikey, for the studio I will discuss this & the other topic ([studio]matrix cell rendering issue) with the team to see if it is a bug to declare or not.

But as a workaround, you can give a fixed height value (for example 400px in your case).

The same for the width you can assign it a fixed value.

Each time you can increment/decrement the values and automatically the changes are seen in the studio, just to check if there is a gap between each items (vertically & horizontally).

i did that, but it does not fix the issue.

i just dove into the demo version, and see what the team did: instead of controlling the spacing via the outermost stylebox within each cell of the matrix, they added another inner stylebox, and added margins around that.

that seems weird, but it works.

1 Like