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

Dialog Font Sizes Setting Implementation #2380 #2383

Merged
merged 4 commits into from
Mar 1, 2016

Conversation

petvetbr
Copy link
Contributor

Implementation of the option to set Dialog Font sizes using MetroDialogSettings object.

The size of the fonts for the Title and Message of a Dialog, can be set using a MetroDialogSettings object and passing it as a parameter.

Example:

var controller = await this.ShowProgressAsync("Please wait...", "We are baking some cupcakes!", false, new MetroDialogSettings() { DialogMessageFontSize = 25, DialogTitleFontSize = 50 });

#2380

@@ -25,9 +25,6 @@

<System:Double x:Key="StatusBarFontSize">12</System:Double>

<System:Double x:Key="DialogTitleFontSize">26</System:Double>
<System:Double x:Key="DialogMessageFontSize">15</System:Double>

<System:Double x:Key="FlyoutHeaderFontSize">20</System:Double>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try reuse this existing font sizes? Otherwise it's a breaking change and I can't add this PR for 1.3.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@punker76 sure, I´ll do that.

@punker76 punker76 merged commit 38dba49 into MahApps:develop Mar 1, 2016
@punker76 punker76 added this to the 1.3.0 milestone Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants