[Bug 157643] Unexpected behavior on Plasma::BoxLayout when adding/removing items

Aaron J.Seigo aseigo at kde.org
Mon Feb 11 05:17:18 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157643         
aseigo kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From aseigo kde org  2008-02-11 05:17 -------
you also need to hide/show the items.

side note:

* you don't need contentSizeHint for what you are using it for, just use setMinimumContentSize

* the set up of the GUI should really be done in init(). it's not only better for startup time, it's also likely that eventually you may want configuration values, access to the scene, etc. best to wait until init()

see attached file for a version that works well.


More information about the Panel-devel mailing list