PDA

View Full Version : About Box - Scroll Plain Text



sheeeng
20th October 2009, 08:13
Hi,

I want to create an About Box like user interface. The problem is that I do not want to use QTextEdit to show it. QTextEdit supports HTML rendering, which is not necessary on a About Box page. Furthermore, QTextEdit does not have a text property.

As an alternative, I used QScrollArea, VerticalSpacer, and QLabel to achieve my goal. But, my QLabel does not expand vertically even the plain text consist of multiple lines.

Please advice. Thanks in advance.

wysota
20th October 2009, 08:42
QPlainTextEdit?

sheeeng
20th October 2009, 09:04
QPlainTextEdit?

Thanks a lot! Exactly what I'm looking!