1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-13 12:05:22 +02:00

JamiSplitView: fix crash for right-to-left languages

GitLab: #1829
Change-Id: I273d23ae5a8cfb38862259ab413a0aa778ab0341
This commit is contained in:
François-Simon Fauteux-Chapleau 2024-08-23 14:41:28 -04:00
parent 7243b10e81
commit 7330a87082

View file

@ -86,7 +86,7 @@ SplitView {
// size (4 pixels). This is done to make it easier to grab small scroll-view handles that are
// adjacent to the SplitView handle. Note: vertically oriented handles are not offset.
readonly property real extraHandleSize: 4
readonly property real handleXPosition: !isRTL ? 0 : -extraHandleSize
readonly property real handleXPosition: !UtilsAdapter.isRTL ? 0 : -extraHandleSize
readonly property real handleSize: handleRoot.defaultSize + extraHandleSize
x: control.orientation === Qt.Horizontal ? handleXPosition : 0