[PyQt] Word wrap in QLabel - strange resizing

Mads Ipsen madsipsen at gmail.com
Mon Aug 22 10:04:54 BST 2011


Hi,

If you set wordWrap to True for a QLabel in widget the layout, the 
resizing of the widget is kinda strange: The widget can be resized to 
nothing etc. I've attached a small example, displaying two widgets: One 
with and one without wordwrap. This must be a bug, right?

Best regards,

Mads
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110822/7ae539fa/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: word_wrap.py
Type: text/x-python
Size: 1229 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110822/7ae539fa/attachment.py>


More information about the PyQt mailing list