Details
-
Sub-task
-
Resolution: Done
-
P2: Important
-
b428301a2af0a68ff40d75003ed85aafb19f03f7, 2c7cab4172f1acc86fd49345a2847417e162f2c3
Description
Item anchors are already symmetric (support for both anchors.left and anchors.right), but it should be possible to easily mirror the direction of the defined anchors. See attached patch mirrored_anchors.diff for an example implementation and layoutsamples.zip for an example QML code. See parent task QTBUG-11042 for more info about QtQuick right-to-left locale support.
Item { LayoutMirroring.enabled: true anchors.left: parent.left // left becomes right anchors.leftMargin: 3 }