From 73b833c1c3a79301b944e795fbef8beeb46da3e6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 22 Apr 2026 16:14:15 +0800 Subject: [PATCH] Wrap Menu in VBox with fixed width: set outer VBox to 250px width and Menu to 100% width --- wwwroot/index.ui | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 01fb28a..cfd7826 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -62,11 +62,18 @@ "width": "100%", "height": "calc(100% - 60px)" }, + "subwidgets": [ + { + "widgettype": "VBox", + "options": { + "width": "250px", + "height": "100%" + }, "subwidgets": [ { "widgettype": "Menu", "options": { - "width": "250px", + "width": "100%", "height": "100%", "bgcolor": "#1A1E2F", "items": [ @@ -91,7 +98,9 @@ ], "menuitem_css": "menuitem" } - }, + } + ] + }, { "widgettype": "VBox", "id": "main-content",