[PATCH] "Show only important text" mode for toolbars
Peter Rockai (mornfall)
mornfall at danill.sk
Wed Sep 22 15:17:57 BST 2004
On Wednesday 22 September 2004 12:07, Waldo Bastian wrote:
> On Wednesday 22 September 2004 08:24, Simon Edwards wrote:
> I'm not convinced. Wouldn't it be better to look for shorter texts?
[snip]
Ok, i reworked the patch to attach short text to KAction instead fo the
boolean flag. Remaining machinery is about the same. Short text can be set to
empty string to hide the text (and effectively turn the button into
IconOnly). Original (long) text is shown as a tooltip if it's different from
the short variant.
It may be also possible to use short text uncoditionally (and ensure it's not
empty) and use the flag (like in original patch) as well or to display text
unconditionally everywhere (in IconTextRight or IconTextBottom modes) but i
don't like it as it doesn't address many of the issues original patch does.
> Cheers,
> Waldo
Yours,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdeui2.diff
Type: text/x-diff
Size: 16267 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040922/9941e0e7/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040922/9941e0e7/attachment.sig>
More information about the kde-core-devel
mailing list