From c93411174890b9c59bf63c763f7cdfdc85fd4480 Mon Sep 17 00:00:00 2001 From: p
Date: Wed, 12 Aug 2026 18:49:19 +0800 Subject: [PATCH] popup: VBox for files panel --- wwwroot/api/workspace_popup.dspy | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wwwroot/api/workspace_popup.dspy b/wwwroot/api/workspace_popup.dspy index e01c7a8..f59e8aa 100644 --- a/wwwroot/api/workspace_popup.dspy +++ b/wwwroot/api/workspace_popup.dspy @@ -1,4 +1,4 @@ -# workspace_popup.dspy - 返回 PopupWindow(纯widget结构,无binds) +# workspace_popup.dspy - 用 VBox 代替 VScrollPanel uid = await get_user() if not uid: @@ -58,10 +58,9 @@ async with DBPools().sqlorContext(dbname) as sor: }] }, { - "widgettype": "VScrollPanel", + "widgettype": "VBox", "id": "ws_files", "options": { - "dataurl": entire_url("/pipeline-sdlc/api/workspace_files.dspy") + "?id=__root__", "css": "filler", "padding": "8px", "gap": "4px"