From 91f4f508ccfba029c51f69ff603dd1edca53271f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Thu, 15 Jun 2023 00:21:54 +0800 Subject: [PATCH] update --- example/qml/page/T_TableView2.qml | 2 +- src/imports/FluentUI/Controls/FluTableView2.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/qml/page/T_TableView2.qml b/example/qml/page/T_TableView2.qml index f95655d5..82b1dc27 100644 --- a/example/qml/page/T_TableView2.qml +++ b/example/qml/page/T_TableView2.qml @@ -7,7 +7,7 @@ import "qrc:///example/qml/component" FluContentPage{ - title:"TableView" + title:"TableView2" Component.onCompleted: { loadData(1,10) diff --git a/src/imports/FluentUI/Controls/FluTableView2.qml b/src/imports/FluentUI/Controls/FluTableView2.qml index c0c1171d..fe2a5e3c 100644 --- a/src/imports/FluentUI/Controls/FluTableView2.qml +++ b/src/imports/FluentUI/Controls/FluTableView2.qml @@ -13,7 +13,7 @@ TableView { id:model_columns } columnWidthProvider: function (column) { - return 100 + return columnSource[column].width } rowHeightProvider: function (column) { return 60