[Interest] QPlainTextEdit layout bug

Diego Iastrubni diegoiast at gmail.com
Tue Jan 29 10:39:56 CET 2013


On Thu, Jan 24, 2013 at 11:50 PM, M. Bashir Al-Noimi <mbnoimi at gmail.com>wrote:

> As you know Qt supports auto text layout for all Qt input widgets but
> recently I noticed that QPlainTextEdit doesn't!!
>
> Could anyone tell me if this is wrong or right before filing a new bug
> report.
>
> As you can see in this screenshot QLineEdit works fine:
> http://i.imgur.com/vmvQvi3.png
>
> While QPlainTextEdit doesn't!
> http://i.imgur.com/VCOS7xj.png
>
> PS
> I couldn't find any temporarily solution for this issue because this
> widget works with plain text only so I couldn't add "text-align: right;"
> for example.
>
>
> You are not looking for text-alignment, but text direction, which is not
implemented in QPlainTextDocumentLayout does not support direction. I will
see if it hard to implement, porting from QTextDocumentLayout and see if
anyone else is interested.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130129/cb18e9c8/attachment.html>


More information about the Interest mailing list