From 8506c9c373b9f426f62e100a018e52c8dad5adc4 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Sat, 11 Jul 2026 09:23:24 +0800 Subject: [PATCH] feat(grid): move column width to view options --- apps/desktop/src/components/grid/DataGrid.vue | 25 ----------- .../src/components/layout/ContentArea.vue | 43 ++++++++++++++++++- 2 files changed, 42 insertions(+), 26 deletions(-) diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vue index 1f6b8581f7..6f550373a8 100644 --- a/apps/desktop/src/components/grid/DataGrid.vue +++ b/apps/desktop/src/components/grid/DataGrid.vue @@ -9190,31 +9190,6 @@ const gridContextMenuItems = computed(() => { {{ t("grid.refresh") }} ({{ shortcutMod }}+R) - - - - - - - - - {{ t("grid.columnWidthCompact") }} - - - - - {{ t("grid.columnWidthStandard") }} - - - - - {{ t("grid.columnWidthComfortable") }} - - - + +
A @@ -1449,6 +1472,24 @@ defineExpose({ focusSearch, refreshData, handleModRTarget, requestQueryEditorExe
+
+
+ + {{ t("grid.columnWidth") }} +
+
+ +
+
A