[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: RFC: An action class to ease implementation of show/hide-like
From:       todd rme <toddrme2178 () gmail ! com>
Date:       2010-09-10 22:02:08
Message-ID: AANLkTimCFQ6Cf7UZiYtQfca04DVfPKEytiXOsg986vLS () mail ! gmail ! com
[Download RAW message or body]

2010/9/10 Aurélien Gâteau <agateau@kde.org>:
> Hi,
>
> After putting some work on toggle buttons in the HIG [1], I started to
> look around at applications which were not complying with this new
> addition to the guidelines. I realized lots of applications misuse
> KToggleAction and KToggleAction::setCheckedState() to create actions
> like "Show/Hide Sidebar": they create toggle actions which change their
> labels, so they look like this:
>
> [ ] Show Sidebar
> [x] Hide Sidebar
>
> This is even worse when used in a toolbar because when the sidebar is
> visible you end up with a button which says "Hide Sidebar" and stays down.
>
> One of the solutions to this is to keep the same label, regardless of
> the visibility of the UI element. This is the easiest solution, but it
> does not feel as intuitive in my opinion as changing the label,
> especially in menus.

This may have already been addressed, but what about just setting the
label to "Sidebar".

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic