Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.6.0, 5.6.1
-
None
-
Windows 7, Hebrew enabled but active locale is English
-
589e34eb3210d8725d68941dbeb096424dda68df
Description
#include <QApplication> #include <QLineEdit> int main(int argc, char *argv[]) { QApplication a(argc, argv); QLineEdit lineEdit; lineEdit.setPlaceholderText("Test"); lineEdit.show(); return a.exec(); }
See the attached files. The placeholder text is aligned to the right, while the user text is aligned correctly.
Even when there is no placeholder text, the cursor appears on the right edge.
setLayoutDirection(Qt::LeftToRight) doesn't help.
Attachments
Issue Links
- resulted from
-
QTBUG-49031 System locale (returned by QLocale::system()) always returns Qt::LeftToRight for QLocale::textDirection
- Closed