Summary: | KToolbar need to have fixed size action | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Cédric Bellegarde <web> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | agateau, cfeck, faure |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Cédric Bellegarde
2010-05-26 13:15:19 UTC
Since KAction is a QWidgetAction, you can have any widget inside it, even one that enforces specific size hints or limits. From kdelibs perspective, I guess this is a WONTFIX. For the record: this could be fixed by KDualAction as proposed on kde-core-devel, if done properly. Reopen since we now have KDualAction. It should be possible to compute the size hint from both actions. Aurélien? KDualAction has the necessary information to compute the widest button, but right now it does not create buttons itself. Are you thinking about catching the created widget and setting a fixed width on it? |