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

add "PasswordBox" support "ButtonsAlignment" #3074

Merged
merged 1 commit into from
Oct 9, 2017

Conversation

waleswood
Copy link
Contributor

add "MetroButtonPasswordBox" support "TextBoxHelper.ButtonsAlignment"

What changed?

"MetroButtonPasswordBox" can use "TextBoxHelper.ButtonsAlignment="Left"" now

Closed issues.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add "MetroButtonPasswordBox" support "TextBoxHelper.ButtonsAlignment"
Copy link
Member

@punker76 punker76 left a comment

Choose a reason for hiding this comment

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

can you do this for the other PasswordBox styles too?

@@ -369,7 +369,7 @@
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
<Grid x:Name="PART_InnerGrid" Margin="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
Copy link
Member

Choose a reason for hiding this comment

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

This is wrong value if buttons alignment is right.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Add a new style?

@punker76 punker76 merged commit bfc77df into MahApps:develop Oct 9, 2017
@punker76 punker76 added this to the 1.6.0 milestone Oct 9, 2017
@punker76
Copy link
Member

@waleswood thx for contribution 👍 I've fixed the column width and add the buttons alignment to the other PasswordBox styles too.

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

Successfully merging this pull request may close these issues.

None yet

2 participants