Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.9
-
None
Description
I created a Qt Quick application and i noticed that when i'm using Right-to-left text and Text.AlignLeft, the text is aligned to left but shouldn't it be aligned to right? And when i do the opposite with Text.AlignRight, it will be aligned to right instead of left.
import QtQuick 2.15 import QtQuick.Window 2.15 Window { width: 800 height: 200 visible: true title: qsTr("test") Text { id: name x: 0 y: 0 width: 800 height: 100 color: "black" text: "لْأَبْجَدِيَّة الْعَرَبِيَّة!#¤%" font.family: "Noto Sans Arabic" font.pixelSize: 20 horizontalAlignment: Text.AlignLeft } }
Font can be downloaded from https://fonts.google.com/noto/specimen/Noto+Sans+Arabic