[Qt-interest] QPlainTextEdit has broken layout after hide(), show()
Nikos Chantziaras
realnc at arcor.de
Tue Jun 21 20:52:12 CEST 2011
I came across a strange glitch with QPlainTextEdit: When I modify it
with insertPlainText() while the QPTE is hidden and then show() it, the
contents are all messed up and will only show correctly is the user
resizes the widget. Calling update() after show() does not help.
Calling document()->setModified() and/or document()->markContentsDirty()
doesn't help either.
Any solutions to this? And should this be considered a bug that should
be reported?
More information about the Qt-interest-old
mailing list