From 6638fe2e06a6a5cc9e0da463cbe72644af302b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Tue, 30 Apr 2024 13:06:27 +0800 Subject: [PATCH] update --- src/Qt5/imports/FluentUI/Controls/FluTableView.qml | 1 + src/Qt6/imports/FluentUI/Controls/FluTableView.qml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Qt5/imports/FluentUI/Controls/FluTableView.qml b/src/Qt5/imports/FluentUI/Controls/FluTableView.qml index 2e04312e..1796723e 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluTableView.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluTableView.qml @@ -853,6 +853,7 @@ Rectangle { } return FluTheme.dark ? Qt.rgba(56/255,56/255,56/255,1) :Qt.rgba(243/255,243/255,243/255,1) } + visible: table_view.rows !== 0 Rectangle{ z:99 anchors.fill: parent diff --git a/src/Qt6/imports/FluentUI/Controls/FluTableView.qml b/src/Qt6/imports/FluentUI/Controls/FluTableView.qml index 850fc786..bd592d44 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluTableView.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluTableView.qml @@ -853,6 +853,7 @@ Rectangle { } return FluTheme.dark ? Qt.rgba(56/255,56/255,56/255,1) :Qt.rgba(243/255,243/255,243/255,1) } + visible: table_view.rows !== 0 Rectangle{ z:99 anchors.fill: parent