|
112 | 112 | <Border Margin="6" HorizontalAlignment="Stretch" VerticalAlignment="Top" Effect="drop-shadow(0 0 8 #8F000000)"> |
113 | 113 | <Border Padding="8" CornerRadius="6" Background="{DynamicResource Brush.Popup}"> |
114 | 114 | <Grid RowDefinitions="26,Auto"> |
115 | | - <Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto" Margin="8,0"> |
| 115 | + <Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto,Auto" Margin="8,0"> |
116 | 116 | <Path Grid.Column="0" Width="14" Height="14" Data="{StaticResource Icons.Error}" Fill="Red" IsVisible="{Binding IsError}"/> |
117 | 117 | <Path Grid.Column="0" Width="14" Height="14" Data="{StaticResource Icons.Info}" Fill="Green" IsVisible="{Binding !IsError}"/> |
118 | 118 | <TextBlock Grid.Column="1" Margin="8,0,0,0" FontWeight="Bold" FontSize="14" Text="{DynamicResource Text.Launcher.Error}" IsVisible="{Binding IsError}"/> |
119 | 119 | <TextBlock Grid.Column="1" Margin="8,0,0,0" FontWeight="Bold" FontSize="14" Text="{DynamicResource Text.Launcher.Info}" IsVisible="{Binding !IsError}"/> |
120 | | - <Button Grid.Column="2" Classes="icon_button" Width="16" Height="16" Click="OnDismissNotification"> |
| 120 | + <Button Grid.Column="2" Classes="icon_button" Width="16" Height="16" Click="OnCopyNotification"> |
| 121 | + <Path Width="12" Height="12" Data="{StaticResource Icons.Copy}"/> |
| 122 | + </Button> |
| 123 | + <Button Grid.Column="3" Classes="icon_button" Width="16" Height="16" Margin="8,0,0,0" Click="OnDismissNotification"> |
121 | 124 | <Path Width="10" Height="10" Data="{StaticResource Icons.Window.Close}"/> |
122 | 125 | </Button> |
123 | 126 | </Grid> |
124 | 127 |
|
125 | | - <ScrollViewer Grid.Row="1" Margin="8" MaxHeight="100" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto"> |
126 | | - <SelectableTextBlock TextWrapping="Wrap" Text="{Binding Message}"/> |
127 | | - </ScrollViewer> |
| 128 | + <Border Grid.Row="1" Margin="8" Background="{DynamicResource Brush.Contents}" BorderThickness="1" BorderBrush="{DynamicResource Brush.Border2}"> |
| 129 | + <ScrollViewer MaxHeight="200" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"> |
| 130 | + <TextBlock Margin="4,2" TextWrapping="NoWrap" Text="{Binding Message}"/> |
| 131 | + </ScrollViewer> |
| 132 | + </Border> |
128 | 133 | </Grid> |
129 | 134 | </Border> |
130 | 135 | </Border> |
|
0 commit comments