On 29 January 2011 18:49, Thomas Lübking <thomas.luebk...@gmail.com> wrote: > Am 30.01.2011, 00:37 Uhr, schrieb Steven Sroka <sroka.ste...@gmail.com>: > >>> ... did you meanwhile try to invalidate the layout before adjusting the >>> size? > >> Yes, in my eventFilter() I put: >> >> d->vWindowLayout->invalidate(); >> >> d->descriptionWidget->setFixedSize(d->descriptionWidget->sizeHint().width(), >> 28); >> adjustSize(); > >> But that did not solve the problem :( > > You have to invalidate /after/ setting the fixed size - at least i think...
I tried that too. So there is no way to get the window to resize itself whenever a child widget's size changes? > > Thomas > >>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<