[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Looking for Advisory on ActivityBar Size Policy
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2011-11-16 8:39:54
Message-ID: 15197995.eCzoaFaphg () freedom
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday, November 16, 2011 01:00:33 David Narvaez wrote:
> sense, what's the correct QSizePolicy combination between tab
> bars,layouts an applets to get it working that way?

set a preferredSize on the applet that reflects the preferredSize of the 
contents and it should behave as requested (growing and shrinking). the panel 
will give it as much room as it can up to the size of the preferredSize, but 
no more.

if you want a fixed growing size, just make sure the preferredSize never gets 
smaller. the applet may still be given less room (it's only a preferredSize, 
after all) but if at all possible, it will get the room it requests.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

["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