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

Change the Button Desgin #2458

Closed
feinstein opened this issue Apr 6, 2016 · 0 comments
Closed

Change the Button Desgin #2458

feinstein opened this issue Apr 6, 2016 · 0 comments

Comments

@feinstein
Copy link
Contributor

What steps will reproduce this issue?

I added a Save and a Cancel Button to my project, my Save Button does nothing (for now), and when I click it, it shows a black stroke around it, but it keeps the black stroke after my click is done.

I don't think it should stay there when it's on Focus, with my mouse hovering it. It should go back to what it was before, and not preserve a visual state. It should have a visual state that reflect it's current state and two visual states for the same state doesn't seems to be correct in my opinion.

_Here goes the images to illustrate my point: _

Both Buttons, not selected:

captura_de_tela_040516_082522_pm

Save Button clicked:

captura_de_tela_040516_082542_pm

Cancel Button clicked:

captura_de_tela_040516_082608_pm

You can simulate this easily if you press a button and slide the mouse outside it, and then let the mouse go. The hovering state will still work, making the button darker, but the black stroke will be there after you "try to drag" the button.

Expected outcome

After I my mouse click finishes (Mouse Up) the Button should go back to a selected or hovering state, just like it was before the clicking.

Environment

  • MahApps.Metro v1.2.4
  • Windows 7x64
  • Visual Studio 2015 Update 2
  • .NET Framework 4.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants