Dashboard resize

Does anyone know how to disable the resize capability when the dashboard is in edit mode. I only need the possibility to add, delete and move the widgets.

thank you in advance

Hi Stefan, unfortunately there’s no API for that yet, but there is a feature request issue: [dashboard] add option to disable resizing widgets · Issue #8938 · vaadin/web-components · GitHub. Please add your :+1: to the description to upvote it.

In the meantime, you can effectively hide the resize control with css:

vaadin-dashboard-widget::part(resize-button) {
  display: none;
}
1 Like

Just stumbled across this thread - The CSS workaround, Rolf! The vaadin-dashboard-widget::part(resize-button) { display: none; } trick is a lifesaver for now. I’ve also added my vote to the GitHub feature request.