Skip to content

Form layout: vaadin-form-item-row-spacing does not work when items are not wrapped in FormItem #8122

@MarekChr

Description

@MarekChr

Description of the bug

Setting row spacing in FormLayout does not work. Wrapping items in FormItem is not pleasible, because of additional header added to element. Forum reference.

Expected behavior

Row spacing working as column spacing

Minimal reproducible example

setColumnSpacing(1.3f, Unit.CH);
setRowSpacing(1.3f, Unit.CH); // currently bugged in vaadin

Versions

  • Vaadin / Flow version: 24.9.2
  • Java version: 21
  • OS version: Win 10 / Linux
  • Browser version (if applicable): Firefox
  • Application Server (if applicable): Tomcat

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions