[PyQt] Word wrap in QLabel - strange resizing - rephrased
Jeremy Sanders
jeremy at jeremysanders.net
Mon Aug 22 11:39:11 BST 2011
Mads Ipsen wrote:
> I've attached a small example, displaying two widgets which both include
> a QLabel: one with wordwrap on, and one without. Try to resize the two
> widgets and see if you can reproduce the behavior.
>
> This must be a bug, right?
This is a fairly well known Qt bug but I can't find the proper reference.
Here is some discussion for instance
http://www.qtcentre.org/threads/8766-Qt-layouting-QLabel-s-word-wrap-bug
If you go to the Qt bug tracker and search for QLabel wordwrap and layout
you find a whole pile of issues like this.
Jeremy
--
http://www.jeremysanders.net/
More information about the PyQt
mailing list