On Friday 27 February 2009 08:32:31 Matthias Fuchs wrote: > I tried QSizePolicy::Preferred, updateGeometry() on the layout, invalidate > and adjustSize on both the labels and the layout. Maybe the order in which > I called these methods was wrong or maybe I'm doing something stupid, it > did not work.
Try to set the preferred size of the Plasma::Label...something like: label->setPreferredSize(QSize(200,200)); that should solve your issue if I'm not crazy right in the morning =P Cheers -------------------------------------------------------------- Artur Duque de Souza OpenBossa Research Labs INdT - Instituto Nokia de Tecnologia -------------------------------------------------------------- Blog: http://labs.morpheuz.eng.br/blog/ GPG: 0xDBEEAAC3 @ wwwkeys.pgp.net --------------------------------------------------------------
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel