Version: unspecified (using Devel) OS: Linux http://mail.kde.org/pipermail/rekonq/2010-May/001287.html I've made a patch for rekonq that try to emulate a fixed size button in a ktoolbar (text alongside icons). It's a hack and rekonq dev want this to be fixed in kdelibs. So, please add an option to tell ktoolbar to have button with a fixed size when switching between kactions... Exemple: Current: <@ Stop> <@ Reloading> Wanted: <@ Stop > <@Reloading> Reproducible: Didn't try
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?