style(ai-outfit): 明细表再缩「衣服图/结果·原因」、标题更宽 (§19.26)

承接 §19.25:_configure_detail_table_columns 把「衣服图」(col3) 初值
150→90、「结果/原因」(col5) 220→130(仍 Interactive 可手拖);「标题」
Stretch 自动吸收省下的宽度变更宽,短固定列(行/货号/状态)不变。

测试:列宽用例补断言 columnWidth(3)<=90、columnWidth(5)<=130。
全套 py37 通过(test_config_service 的 packaging 模板失败属并行 §19.13,无关)。
离屏冒烟:衣服图=90 / 结果·原因=130(Interactive)、标题 Stretch。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-23 17:09:42 +08:00
co-authored by Claude Opus 4.8
parent 04bc587538
commit be1eb9ee36
4 changed files with 24 additions and 2 deletions
+3
View File
@@ -86,6 +86,9 @@ class TestAiOutfitPanelDefaults(unittest.TestCase):
self.assertLessEqual(panel._table.columnWidth(0), 56)
self.assertLessEqual(panel._table.columnWidth(2), 100)
self.assertLessEqual(panel._table.columnWidth(4), 90)
# §19.26: 衣服图 / 结果·原因 再收窄(仍可手拖)
self.assertLessEqual(panel._table.columnWidth(3), 90)
self.assertLessEqual(panel._table.columnWidth(5), 130)
def test_title_group_present_no_dropdown_preview_removed(self):
"""标题生成组存在;无标题模型下拉(配置定名 §17.3);预览块已移除。"""