On Tue, Jan 29, 2013 at 1:54 PM, M. Bashir Al-Noimi <[email protected]>wrote:
> On 29/01/2013 10:39 ص, Diego Iastrubni wrote: > > On Thu, Jan 24, 2013 at 11:50 PM, M. Bashir Al-Noimi <[email protected]>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. > > Thanks Diego, > > I opened a bug report at: > https://bugreports.qt-project.org/browse/QTBUG-29341 > > As a workaround - you can use now QTextEdit instead of QPlainTextEdit.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
