<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Consolas'; font-size:11pt; font-weight:400; font-style:normal;">On Monday 16 June 2008, Mark Summerfield wrote:<br>> >   Is there any way around this?  The changing of size on the qlabel<br>> > shouldn't affect items above it in a vertical layout, but it does<br>> > anyway.<br>><br>> You could try making the label's minimum size as big as you think it<br>> will ever need. Or, more crudely, setting it to a fixed size.<br><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>In addition you could manually double-buffer the painted area and if you get a repaint with no change in size just redraw the cached pixmap.  But that is probably more irritating and hard to properly maintain I think.<br><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>Regards,<br> - Michael Pyne</p></body></html>