[SOLVED] QML Selective LayoutMirroring (Child override parent mirroring).
I have a hierarchy of QML files forming my application (as normal).
The application has support for RightToLeft languages such as Hebrew, so we use LayoutMirroring.childrenInherit to switch layout direction via the parent (main.qml) when we switch language settings.
The problem is there are two QML files I do not want to respect the parent-child layout dependency created by LayoutMirroring.childInherit. I want to always have these certain files in LeftToRight layout.
Is this possible?
I found the solution.
I simply added LayoutMirroring.childInherit: true and LayoutMirroring.enabled: false to the child QML files in question and that seems to prevent any further flow-down from the main qml file.