Wrap Menu in VBox with fixed width: set outer VBox to 250px width and Menu to 100% width

This commit is contained in:
yumoqing 2026-04-22 16:14:15 +08:00
parent 3f449816ed
commit 73b833c1c3

View File

@ -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",