|
94 | 94 | </Rectangle.OpacityMask> |
95 | 95 | </Rectangle> |
96 | 96 | </StackPanel> |
97 | | - </Button> |
| 97 | + </Button> |
98 | 98 | <Button Command="{Binding OpenWebsiteCommand}" ToolTip="{x:Static localization:Strings.ReportAnIssueOrCreateAFeatureRequest}" CommandParameter="{x:Static resources:Resources.NETworkManager_NewIssueUrl}" Cursor="Hand"> |
99 | 99 | <StackPanel Orientation="Horizontal"> |
100 | 100 | <Rectangle Width="20" Height="20" Fill="{Binding RelativeSource={RelativeSource AncestorType=Button}, Path=Foreground}"> |
|
374 | 374 | <Setter Property="ToolTip" Value="{x:Null}" /> |
375 | 375 | </MultiDataTrigger.Setters> |
376 | 376 | </MultiDataTrigger> |
| 377 | + <DataTrigger Binding="{Binding Path=IsSelected, RelativeSource={RelativeSource AncestorType={x:Type ListViewItem}}}" Value="True" > |
| 378 | + <Setter Property="Background" Value="{DynamicResource GrayBrush8}" /> |
| 379 | + </DataTrigger> |
377 | 380 | </Style.Triggers> |
378 | 381 | </Style> |
379 | 382 | </Grid.Style> |
380 | | - <Rectangle Grid.Column="0" Width="24" Height="24"> |
| 383 | + <Rectangle Grid.Column="0" Width="4" Height="48" HorizontalAlignment="Left"> |
| 384 | + <Rectangle.Style> |
| 385 | + <Style TargetType="{x:Type Rectangle}"> |
| 386 | + <Style.Triggers> |
| 387 | + <DataTrigger Binding="{Binding Path=IsSelected, RelativeSource={RelativeSource AncestorType={x:Type ListViewItem}}}" Value="True" > |
| 388 | + <Setter Property="Fill" Value="{DynamicResource AccentColorBrush}" /> |
| 389 | + </DataTrigger> |
| 390 | + </Style.Triggers> |
| 391 | + </Style> |
| 392 | + </Rectangle.Style> |
| 393 | + </Rectangle> |
| 394 | + <Rectangle Grid.Column="0" Width="24" Height="24" Margin="0,0,-2,0"> |
381 | 395 | <Rectangle.OpacityMask> |
382 | 396 | <VisualBrush Stretch="Uniform" Visual="{Binding Name, Converter={StaticResource ApplicationNameToIconConverter}}" /> |
383 | 397 | </Rectangle.OpacityMask> |
384 | 398 | <Rectangle.Style> |
385 | 399 | <Style TargetType="{x:Type Rectangle}"> |
386 | 400 | <Setter Property="Fill" Value="{DynamicResource GrayBrush3}" /> |
387 | 401 | <Style.Triggers> |
388 | | - <DataTrigger Binding="{Binding Path=IsMouseOver,RelativeSource={RelativeSource AncestorType={x:Type ListViewItem}}}" Value="True" > |
| 402 | + <DataTrigger Binding="{Binding Path=IsMouseOver, RelativeSource={RelativeSource AncestorType={x:Type ListViewItem}}}" Value="True" > |
389 | 403 | <Setter Property="Fill" Value="{DynamicResource GrayBrush5}" /> |
390 | 404 | </DataTrigger> |
391 | | - <DataTrigger Binding="{Binding Path=IsSelected,RelativeSource={RelativeSource AncestorType={x:Type ListViewItem}}}" Value="True" > |
| 405 | + <DataTrigger Binding="{Binding Path=IsSelected, RelativeSource={RelativeSource AncestorType={x:Type ListViewItem}}}" Value="True" > |
392 | 406 | <Setter Property="Fill" Value="{DynamicResource AccentColorBrush}" /> |
393 | 407 | </DataTrigger> |
394 | 408 | </Style.Triggers> |
395 | 409 | </Style> |
396 | 410 | </Rectangle.Style> |
397 | 411 | </Rectangle> |
398 | | - <TextBlock Grid.Column="1" Text="{Binding Name, Converter={StaticResource ApplicationNameToTranslatedStringConverter}}"> |
| 412 | + <TextBlock Grid.Column="1" Text="{Binding Name, Converter={StaticResource ApplicationNameToTranslatedStringConverter}}" Margin="2,0,0,0"> |
399 | 413 | <TextBlock.Style> |
400 | 414 | <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource HeaderTextBlock}"> |
401 | 415 | <Setter Property="Foreground" Value="{DynamicResource GrayBrush3}" /> |
|
0 commit comments