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

MessageDialog NegativeButton styling #1755

Closed
soend opened this issue Jan 16, 2015 · 9 comments
Closed

MessageDialog NegativeButton styling #1755

soend opened this issue Jan 16, 2015 · 9 comments
Labels
Milestone

Comments

@soend
Copy link
Contributor

soend commented Jan 16, 2015

MessageDialog NegativeButton styling is not set to AccentedDialogSquareButton. Would be nice if it would use also this style so text casing would stay same as it is when i set it.

@punker76
Copy link
Member

@soend which version?

@soend
Copy link
Contributor Author

soend commented Jan 16, 2015

soend added a commit to soend/MahApps.Metro that referenced this issue Jan 29, 2015
Added back Text wrapping for MessageDialog Message (MahApps#1766) and added
styling to all MessageDialog buttons (MahApps#1755).
soend added a commit to soend/MahApps.Metro that referenced this issue Jan 30, 2015
@soend soend closed this as completed Jan 30, 2015
@soend soend reopened this Feb 10, 2015
@soend
Copy link
Contributor Author

soend commented Feb 10, 2015

NegativeButton still does not respect the casing set in string: NegativeButtonText = "No"
Nuget package 1.0.1-ALPHA047

@flagbug
Copy link
Member

flagbug commented Feb 10, 2015

@soend This is the expected behavior. Use the ButtonHelper.PreserveTextCase attached property if you don't want the buttons to change the casing

@soend
Copy link
Contributor Author

soend commented Feb 10, 2015

I noticed that text casing is preserved when i use ColorScheme = MetroDialogColorScheme.Theme and not preserved when i use ColorScheme = MetroDialogColorScheme.Accented in the MetroDialogSettings, is this expected behavior?
What i would like is to keep using Accented colorscheme for dialog and preserve text casing.

@flagbug
Copy link
Member

flagbug commented Feb 10, 2015

@soend Sounds like a bug. Anyways, when you use the ButtonHelper.PreserveTextCase property, it should always be preserved

@soend
Copy link
Contributor Author

soend commented Feb 10, 2015

Could you give me example how to use this property?

@flagbug
Copy link
Member

flagbug commented Feb 10, 2015

My fault, it's currently only possible in custom dialogs

@punker76
Copy link
Member

@soend @flagbug -> #1793

@punker76 punker76 added the Bug label Feb 10, 2015
@punker76 punker76 added this to the 1.1.0 milestone Feb 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants