Summary: | Unexpected behavior on Plasma::BoxLayout when adding/removing items | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Juan González <kde_devel> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Described test
improved applet.cpp that works properly |
Description
Juan González
2008-02-11 02:26:49 UTC
Created attachment 23527 [details]
Described test
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. Created attachment 23530 [details]
improved applet.cpp that works properly
|