Pointing hand cursor style #2163
brendon-felix
started this conversation in
General
Replies: 1 comment 1 reply
-
|
No, we followed desktop applications cursor, the button should not have pointer style. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Was it an intentional design decision to not use
CursorStyle::PointingHandfor clickable components like buttons and switches? I generally prefer using it, so I've been finding myself adding.cursor_pointer()constantly. Note Zed tends to use it for most buttons, switches and other "button-like" components. In gpui-component I only see this cursor style used on link buttons.Not a big deal to add that method in my code, but it becomes a big deal when there are inconsistencies between the components where I have this set (e.g.
Button::new("btn").cursor_pointer()) and components that don't directly implementStyled(likeSidebarMenuItem) and don't expose this styling option.My suggestion is to add pointing hand cursor style to all button-like components that deserve it. It's a near-universal visual cue for clicking, and it feels painfully absent from this library.
Beta Was this translation helpful? Give feedback.
All reactions