This commit is contained in:
朱子楚\zhuzi 2024-04-02 00:32:06 +08:00
parent da9f63eb24
commit 7d1666597f
6 changed files with 22 additions and 4 deletions

View File

@ -375,6 +375,7 @@
<message>
<location filename="qml/global/ItemsOriginal.qml" line="318"/>
<source>TableView</source>
<oldsource>TreeView2</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
@ -2385,6 +2386,14 @@ Some contents...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>T_TreeView2</name>
<message>
<location filename="qml/page/T_TreeView2.qml" line="10"/>
<source>TreeView2</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>T_Typography</name>
<message>

View File

@ -375,6 +375,7 @@
<message>
<location filename="qml/global/ItemsOriginal.qml" line="318"/>
<source>TableView</source>
<oldsource>TreeView2</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
@ -2468,6 +2469,14 @@ Some contents...</source>
<translation type="unfinished">%1</translation>
</message>
</context>
<context>
<name>T_TreeView2</name>
<message>
<location filename="qml/page/T_TreeView2.qml" line="10"/>
<source>TreeView2</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>T_Typography</name>
<message>

View File

@ -11,7 +11,7 @@ Popup {
parent: Overlay.overlay
x: Math.round((d.parentWidth - width) / 2)
y: Math.round((d.parentHeight - height) / 2)
closePolicy: Popup.CloseOnEscape
closePolicy: Popup.NoAutoClose
enter: Transition {
NumberAnimation {
property: "opacity"

View File

@ -65,7 +65,7 @@ Window {
Component.onCompleted: {
FluRouter.addWindow(window)
useSystemAppBar = FluApp.useSystemAppBar
if(useSystemAppBar && autoCenter){
if(!useSystemAppBar && autoCenter){
moveWindowToDesktopCenter()
}
fixWindowSize()

View File

@ -11,7 +11,7 @@ Popup {
parent: Overlay.overlay
x: Math.round((d.parentWidth - width) / 2)
y: Math.round((d.parentHeight - height) / 2)
closePolicy: Popup.CloseOnEscape
closePolicy: Popup.NoAutoClose
enter: Transition {
NumberAnimation {
property: "opacity"

View File

@ -64,7 +64,7 @@ Window {
Component.onCompleted: {
FluRouter.addWindow(window)
useSystemAppBar = FluApp.useSystemAppBar
if(useSystemAppBar && autoCenter){
if(!useSystemAppBar && autoCenter){
moveWindowToDesktopCenter()
}
fixWindowSize()