(FileErrorDialog): limit error text width.

This commit is contained in:
morkt 2017-04-07 12:38:34 +04:00
parent 7024987d23
commit 725455e5ce

View File

@ -11,7 +11,7 @@
<Image Source="Images/64x64/alert.png" Width="64" Height="64" Margin="10" <Image Source="Images/64x64/alert.png" Width="64" Height="64" Margin="10"
SnapsToDevicePixels="True" VerticalAlignment="Top" RenderOptions.BitmapScalingMode="HighQuality"/> SnapsToDevicePixels="True" VerticalAlignment="Top" RenderOptions.BitmapScalingMode="HighQuality"/>
<StackPanel Orientation="Vertical"> <StackPanel Orientation="Vertical">
<TextBox x:Name="ErrorText" Text="{Binding Text}" IsReadOnly="True" Background="Transparent" BorderThickness="0" Margin="0,10,10,10"/> <TextBox x:Name="ErrorText" Text="{Binding Text}" IsReadOnly="True" Background="Transparent" TextWrapping="Wrap" BorderThickness="0" Margin="0,10,10,10" MaxWidth="400"/>
<Separator/> <Separator/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
<CheckBox x:Name="IgnoreErrors" Content="{x:Static s:guiStrings.LabelIgnoreErrors}" Margin="0,10,10,10" VerticalAlignment="Center"/> <CheckBox x:Name="IgnoreErrors" Content="{x:Static s:guiStrings.LabelIgnoreErrors}" Margin="0,10,10,10" VerticalAlignment="Center"/>