How to set vaadin-form-layout row spacing?

It is acceptable for me now, I just wonder what will I do if the client wants more spacing

it should be an easy task to accomplish

or maybe replace the form layout with some kind of generic layout

?

Ah, now I think I get it. I suppose you aren’t using elements at all in your form, just plain vaadin field components directly inside

yes, that is how it is supposed to be used, no ?

Well, can be used both ways. But the CSS custom property only works if you wrap all fields inside

Let me try that

it did something

doe not appear to be row spacing though

is this enough or do i have to extract the label too ?

unknown.png

it appears to change the “spacing of the items in the row” more than changing “spacing between rows”

wait, it seems that the change in layout was caused by wrapping the items itself, regardless of css

so it did not really help

brb

Hi, I have similar issue with vaadin-form-item spacing between fields. Maybe you can help me and say how to remove this extra spacing which is in form item element, above the input field?

image.png

any update here, i got same issue