feat(panel):根据qApp布局方向增加自动反向布局功能
This commit is contained in:
parent
790136d856
commit
35eda11552
|
@ -31,7 +31,8 @@ WidgetContainerItem {
|
|||
id: containerItem
|
||||
property int orientation: WidgetContainer.orientation
|
||||
property bool isHorizontal: orientation === Types.Horizontal
|
||||
|
||||
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
|
||||
LayoutMirroring.childrenInherit: true;
|
||||
onParentChanged: {
|
||||
anchors.fill = parent
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue