feat:根据qApp的布局方向设置是否镜像布局

This commit is contained in:
hanpinlong 2024-07-23 10:42:25 +08:00 committed by iaom
parent 4c9314c63a
commit a89870bdce
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ Item {
property int animationDuration: menuSetting.get("animationDuration")
property var normalGeometry: mainWindow.normalRect
property string currentSearchText: ""
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
LayoutMirroring.childrenInherit: true;
Component.onCompleted: {
mainWindow.fullScreenChanged.connect(enterFullScreen);