From ef08ff00e780e1ceaf780202e558b600614f1195 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 9 Mar 2024 20:01:52 +0800 Subject: [PATCH] Add height and width properties to FrameDSL --- widgets/form/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets/form/types.go b/widgets/form/types.go index a5b194ac..00f4c3fe 100644 --- a/widgets/form/types.go +++ b/widgets/form/types.go @@ -82,6 +82,8 @@ type ViewLayoutDSL struct { type FrameDSL struct { URL string `json:"url,omitempty"` Params map[string]string `json:"params,omitempty"` + Height string `json:"height,omitempty"` + Width string `json:"width,omitempty"` } // SectionDSL layout.form.sections[*]