From a60f703e09dbc5cc6dfc4a85f4e4d4cff52af80c Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Mon, 15 Aug 2016 13:04:09 +0200 Subject: [PATCH] [DefaultToolTip] Enable LayoutMirroring This flips the tooltip when using right-to-left languages CHANGELOG: The standard tooltips are now mirrored when in a right-to-left language REVIEW: 128662 --- src/declarativeimports/core/private/DefaultToolTip.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/declarativeimports/core/private/DefaultToolTip.qml b/src/declarativeimports/core/private/DefaultToolTip.qml index 64e8f4a3a..3b6b15372 100644 --- a/src/declarativeimports/core/private/DefaultToolTip.qml +++ b/src/declarativeimports/core/private/DefaultToolTip.qml @@ -35,6 +35,9 @@ Item { Layout.maximumWidth: childrenRect.width + units.gridUnit Layout.maximumHeight: childrenRect.height + units.gridUnit + LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft + LayoutMirroring.childrenInherit: true + RowLayout { anchors {