Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to set text alignment line by line in TextEdit?



  • I'm written an messenger app using qml, and text messages have bi direction languages too. I want to each line starts with appropriate alignment like below image.
    I know i can split lines and set direction but i want to know if here is a better solution, because the QEditText handle this itself.

    0_1548333224978_Screenshot_20190124_153931 (1).png


Log in to reply