Toolview Buttons

Andreas Pakulat apaku at gmx.de
Fri Jul 17 15:50:02 UTC 2009


On 17.07.09 17:34:33, Andreas Pakulat wrote:
> Hi,
> 
> Nuno just talked to us on IRC and suggested that we don't rotate the
> text on the toolview buttons as it breaks alignment and is also harder
> to read.
> 
> I think I convinced him that there's currently no suitable alternative to 
> the rotated text because anything horizontal takes too much space if the
> toolviews are hidden.
> 
> He suggested to remove the text in that case and I have to admit that it
> doesn't look that bad without text. Additionally eclipse seems to do it
> this way too, i.e. hidden toolviews are only shown by an icon (and of
> course with proper tooltip) and if they're shown there's a horizontal
> header (which we also have). So how about doing that, but allowing to
> re-add the (rotated) text by an option in the ui-settings?
> 
> Additionally Nuno suggests to not rotate the icons as that also makes
> recognizing them a bit harder. Personally I feel non-rotated icons look
> a bit weird if the text is rotated, but they look better if there's no
> text. So we might want to connect this with the option of hiding the
> text.
> 
> Patch attached should work for any toolbuttonstyle except
> TextUnderIcons, so you can just change it in ideal.cpp, IdealToolButton
> constructor.

And here's the patch :)

Andreas

-- 
You're working under a slight handicap.  You happen to be human.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevplatform_toolview_icon_improvement.diff
Type: text/x-diff
Size: 2666 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090717/2af758d1/attachment.bin>


More information about the KDevelop-devel mailing list