diff --git a/example/example_en_US.ts b/example/example_en_US.ts
index c18c9508..a354efb0 100644
--- a/example/example_en_US.ts
+++ b/example/example_en_US.ts
@@ -47,39 +47,39 @@
FluentInitalizrWindow
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -1594,26 +1594,26 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
T_Home
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/example/example_zh_CN.ts b/example/example_zh_CN.ts
index 6a9d088f..4f8ebdb6 100644
--- a/example/example_zh_CN.ts
+++ b/example/example_zh_CN.ts
@@ -47,39 +47,39 @@
FluentInitalizrWindow
-
+
-
+
FluentUI脚手架
-
-
+
+
名称
-
-
+
+
创建路径
-
-
+
+
浏览
-
-
+
+
取消
-
-
+
+
创建
@@ -1606,26 +1606,26 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
T_Home
-
-
+
+
FluentUI GitHub
-
-
+
+
最新的 FluentUI 控件和样式
-
-
+
+
FluentUI脚手架
-
-
+
+
FluentUI 脚手架是一个快速创建项目工具,可帮助您创建和自定义具有各种选项的 Fluent UI 项目
diff --git a/src/Qt5/imports/FluentUI/Controls/FluWindowDialog.qml b/src/Qt5/imports/FluentUI/Controls/FluWindowDialog.qml
index 78f54bda..582774ec 100644
--- a/src/Qt5/imports/FluentUI/Controls/FluWindowDialog.qml
+++ b/src/Qt5/imports/FluentUI/Controls/FluWindowDialog.qml
@@ -21,7 +21,8 @@ FluWindow {
}
}
closeListener: function(event){
- event.accepted = true
+ visible = false
+ event.accepted = false
}
function showDialog(){
var x = transientParent.x + (transientParent.width - width)/2
diff --git a/src/Qt6/imports/FluentUI/Controls/FluWindowDialog.qml b/src/Qt6/imports/FluentUI/Controls/FluWindowDialog.qml
index a5f03a7c..60a40d21 100644
--- a/src/Qt6/imports/FluentUI/Controls/FluWindowDialog.qml
+++ b/src/Qt6/imports/FluentUI/Controls/FluWindowDialog.qml
@@ -21,7 +21,8 @@ FluWindow {
}
}
closeListener: function(event){
- event.accepted = true
+ visible = false
+ event.accepted = false
}
function showDialog(){
var x = transientParent.x + (transientParent.width - width)/2
diff --git a/src/fluentuiplugin_en_US.ts b/src/fluentuiplugin_en_US.ts
index c35a5e09..e1e02854 100644
--- a/src/fluentuiplugin_en_US.ts
+++ b/src/fluentuiplugin_en_US.ts
@@ -64,11 +64,7 @@
FluCalendarPicker
-
-
-
-
-
+
diff --git a/src/fluentuiplugin_zh_CN.ts b/src/fluentuiplugin_zh_CN.ts
index 5cd91207..a216b0d1 100644
--- a/src/fluentuiplugin_zh_CN.ts
+++ b/src/fluentuiplugin_zh_CN.ts
@@ -64,11 +64,11 @@
FluCalendarPicker
-
- 请选择日期
+ 请选择日期
+
选择日期