Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.12, 6.4.2
-
None
Description
According to docs, text edit controls has horizontalAlignment set to AlignLeft by default.
However, it's still required to specify it explicitly for the LayoutMirroing to work properly with such controls (otherwise text stays aligned to left instead of right when LayoutMirroing.enabled is true).
import QtQuick 2.12 import QtQuick.Window 2.12 import QtQuick.Layouts 1.12 import QtQuick.Controls 2.12 Window { id: root width: 250 height: 150 visible: true title: qsTr("Hello World") LayoutMirroring.enabled: true LayoutMirroring.childrenInherit: true TextField { anchors.fill: parent //TODO: uncomment this line to "fix" the issue //horizontalAlignment: TextField.AlignLeft } }