[Cuis-dev] highlighting list items under the pointer
pbpublist at gmail.com
Fri May 24 19:38:39 PDT 2019
Interesting idea but I'd suggest a different approach. See how
PluggableButtonMorph does it via #mouseEnter:, #mouseLeave: and
#drawRoundGradientLookOn:. If for whatever reason you don't want to match
the style of button mouseover, you probably should use a different visual
indicator than what is used currently for keyboard focus / selection so
it's clear to the user *what* you're indicating.
On Fri, May 24, 2019 at 3:24 PM Luciano Notarfrancesco via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> Ok, this is more like it, but still not sure if this is the intended use
> of highlightedRow, let me know.
> On Fri, May 24, 2019 at 7:05 PM Luciano Notarfrancesco <luchiano at gmail.com>
>> Hm, I just tested it with the default Cuis theme and it is weird because
>> it keeps the item highlighted after the pointer leaves the list, seems
>> confusing... didn't notice it with my theme because I use black background.
>> This needs a little more thought, sorry..
>> On Fri, May 24, 2019 at 6:55 PM Luciano Notarfrancesco <
>> luchiano at gmail.com> wrote:
>>> The other day I looked at Squeak and saw how the PluggableListMorph
>>> highlights the item under the mouse pointer. I don't remember paying
>>> attention to it before, but it seems pretty common, I'm seeing it now in
>>> gmail for example. This changeset adds a line of code to do that, let me
>>> know if you like it or if it's annoying.
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cuis-dev