Unsolved Arabic string displaying on QLabel and QPushtbuon is different in Qt
-
There is one Arabic string as: اختبار عرض اللغة العربية في QTE. The displaying on QLabel and QPushButton is different with same interface setText(). See picture below:
Anyone can help on why the displaying behavior is different?
Thanks. -
@Jared-Zhou
I don't know how it works/what you can do about it, but just to say I assume this is to do with RTL reading/display of the Arabic string, and it somehow being detected as containing some non-Arabic characters and (unfortunate) different handling betweenQLabel
versusQPushButton
. I assume if you replace thatQTE.
with some Arabic characters they both display the same, correct way.