[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Problems with QGraphicsLayout
From: "Artur Souza\(MoRpHeUz\)" <morpheuz () openbossa ! org>
Date: 2009-02-27 11:47:12
Message-ID: 200902270847.19297.morpheuz () openbossa ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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" (application/pgp-signature)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic