Hi. In Compose for desktop I have buttons, but the...
# compose-desktop
с
Hi. In Compose for desktop I have buttons, but they have default mouse cursor style. Is there are any way to change it to make Hand cursor to show that this element is clickable ?
i
Modifier._pointerHoverIcon_(PointerIcon.Hand)
k
Also consider that this is not the prevalent desktop paradigm. I look at a few apps on my macbook such as Chrome, Firefox and IntelliJ, and they don’t constantly switch between arrow and hand as you move the mouse over the relevant buttons, comboboxes, checkboxes, etc.
1
c
fwiw: I'd be a bit 🤢 if I saw the hand cursor when I hovered over what I would consider to be a typical looking button. If you were indicating a clickable area in a not so obvious UI component... I'd almost understand it, but even then that's kind of highlighting a poor choice of UI/UX. I'd only expect a hand cursor to open a URL in a browser. Just my 2 cents!
с
So, then it's strange that Jetbrains Toolbox has hand pointer on every button which by your messages means that Jetbrains has bad UI/UX. Also check Slack here, all buttons Another thing what I see it's Compose and Material was created for Touch devices where basically you don't need any cursor pointer but when I started making app with Material 2 it looks on Windows so unnatural So different UI styles are working fine with changing or without changing cursor pointer as for me. But Material design as for me really looks bad. BTW Google with they material also are using hand cursor in their WEB apps
d
It is strange because they do violate common guidance about pointers. Some references for example include: Apples guidelines W3C interface guidelines Microsoft Guidelines To name a few.