[Cuis-dev] highlighting list items under the pointer

Phil B pbpublist at gmail.com
Fri May 24 20:02:59 PDT 2019


... and of course there's also MenuItemMorph highlighting which is
different still and who knows what else.  Would be good if we handled this
in a visually consistent way.

On Fri, May 24, 2019 at 10:38 PM Phil B <pbpublist at gmail.com> wrote:

> Luciano,
>
> 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.
>
> Thanks,
> Phil
>
> 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> wrote:
>>
>>> 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
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190524/426aae0e/attachment.html>


More information about the Cuis-dev mailing list