[Qt-interest] QTextEdit: display all text without scroll bars ?
Stephen Collyer
scollyer at netspinner.co.uk
Mon May 17 20:43:08 CEST 2010
On 17 May 2010 14:23, Andre Somers <andre at familiesomers.nl> wrote:
> On 17-5-2010 14:32, Stephen Collyer wrote:
> > Is it possible to have a QTextEdit which:
> >
> > a) always displays all of its text and
> > b) never displays scroll bars
> >
> > under any kind of resizing ? I've been unable to do this, with
> > just about every combination of size policy and size hints that
> > I can think of.
>
> This is not possible with QTextEdit. At least, not directly. For an
> editor, I'm not sure how useful it would be either. Without thinking about
> it much, three approaches pop into my head:
>
I think that I can live with a QLabel for now - it's a bit more
capable than I had realised before and I don't have to worry
about scroll bars and so on.
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100517/06999349/attachment.html
More information about the Qt-interest-old
mailing list