PDA

View Full Version : QCompleter Position mismatch in a RTL QTextEdit



soulless
4th April 2010, 17:42
Hi all,

In the example "customcompleter":


qtsdk-2010.02/qt/examples/tools/customcompleter

everything works nice but, when I add just this line:


setLayoutDirection(Qt::RightToLeft);


to textedit.cpp to make it right to left, QCompleter appears in a wrong position. (not where we expect)
here's an image of wt happens:
4469
any idea?!