From 58e460c6728d17b29c553eb69ff5a30fc3069609 Mon Sep 17 00:00:00 2001 From: Ugur Saglam <106508695+ugur-vaadin@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:16:20 +0300 Subject: [PATCH] refactor: make dashboard implement hassize (#6661) --- .../java/com/vaadin/flow/component/dashboard/Dashboard.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vaadin-dashboard-flow-parent/vaadin-dashboard-flow/src/main/java/com/vaadin/flow/component/dashboard/Dashboard.java b/vaadin-dashboard-flow-parent/vaadin-dashboard-flow/src/main/java/com/vaadin/flow/component/dashboard/Dashboard.java index 98cd25c1fe2..7354edcd134 100644 --- a/vaadin-dashboard-flow-parent/vaadin-dashboard-flow/src/main/java/com/vaadin/flow/component/dashboard/Dashboard.java +++ b/vaadin-dashboard-flow-parent/vaadin-dashboard-flow/src/main/java/com/vaadin/flow/component/dashboard/Dashboard.java @@ -23,6 +23,7 @@ import com.vaadin.flow.component.AttachEvent; import com.vaadin.flow.component.Component; import com.vaadin.flow.component.ComponentEventListener; +import com.vaadin.flow.component.HasSize; import com.vaadin.flow.component.Tag; import com.vaadin.flow.component.dependency.JsModule; import com.vaadin.flow.component.dependency.NpmPackage; @@ -41,7 +42,7 @@ @JsModule("@vaadin/dashboard/src/vaadin-dashboard.js") @JsModule("./flow-component-renderer.js") // @NpmPackage(value = "@vaadin/dashboard", version = "24.6.0-alpha0") -public class Dashboard extends Component implements HasWidgets { +public class Dashboard extends Component implements HasWidgets, HasSize { private final List childrenComponents = new ArrayList<>();