-
Word wrapping
I have a QListWidget on a dialog that I want to enable word wrapping. I've tried this with and without horizontal scroll bars. I've call setWrapping (and not called it). I call setWordWrap() but I can't seem to get the strings to wrap to the size of the window.
What am I missing?
- BRC
-
Re: Word wrapping
I suppose the word wrapping is used only in "icon mode". Are you using the "list mode"?
-
Re: Word wrapping
I think I may be using the wrong control. I'm trying to display a non-editable log file. I do need to allow the user to copy sections of the log. What control should I use to just display flat text data?
- Bruce
-
Re: Word wrapping
Maybe QTextEdit in read only mode? It would allow copy-pasting any part of the log, not just lines as it would be with a list.
-
Re: Word wrapping
That's what I was thinking. I will try that instead of a list widget.
Thanks.
- BRC