Skip to content

Commit 1390b36

Browse files
committed
2 parents 58d6774 + 3e3e26b commit 1390b36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ValidationErrorTemplate.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<DataTemplate DataType="{x:Type ValidationError}">
1010
<TextBlock Foreground="{DynamicResource ValidationErrorBrush}"
1111
FontSize="10"
12-
MaxWidth="250"
12+
MaxWidth="{Binding ElementName=Placeholder, Path=ActualWidth}"
13+
HorizontalAlignment="Left"
1314
Margin="2"
1415
TextWrapping="Wrap"
1516
Text="{Binding ErrorContent}"

0 commit comments

Comments
 (0)