I don’t think so. What’s the use case? I mean, if anything, the limitation would have to be by column, so in a 4-column layout, the number would have to be 4, but then each block in a separate column. The logic to set up something like that and keep track of it would get insanely complex, I think.
Might make more sense to have a custom block with columns in that case?
Hm, not sure I understand. The purpose of the layout field is the option to have multiple columns. So how can I limit this by row, say I have 3 columns, and limit to 6 blocks, that could be two per column, but also 1-2-3.
The way I’m using the layout block in that specific case, is to let the user create a custom grid of pictures.
The idea is for them to use a layout with either 2, 4, or 6 columns. They can add picture in any of these modules of 2, 4 or 6 columns, but the design rule is to never use the same column twice in the panel. Each picture require a new column layout.