Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse cursors for buttons and alike #840

Open
jpnurmi opened this issue Aug 6, 2021 · 1 comment
Open

Mouse cursors for buttons and alike #840

jpnurmi opened this issue Aug 6, 2021 · 1 comment

Comments

@jpnurmi
Copy link
Member

jpnurmi commented Aug 6, 2021

Flutter specifies "click" and "forbidden" mouse cursors for normal and disabled buttons, respectively.

Enabled Disabled
yaru-enabled disabled

While this is the appropriate behavior on the web, it feels somewhat awkward on the desktop where buttons normally don't change the mouse cursor.

Thus, I would like to propose that Yaru specifies SystemMouseCursors.basic for all button-like widgets.

Enabled Disabled
proposal proposal-disabled
@jpnurmi
Copy link
Member Author

jpnurmi commented Aug 6, 2021

P.S. It's ButtonStyle.mouseCursor, not OutlinedButtonThemeData.mouseCursor as the screenshot mistakenly says...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants