mirror of https://github.com/2dust/v2rayN
Merge pull request #3611 from fonaix/master
fix bug #3218 and optimize the background color display effect of the active rowpull/3613/head
commit
73ad33dfc9
|
@ -628,6 +628,7 @@
|
||||||
<DataTrigger Binding="{Binding isActive}" Value="True">
|
<DataTrigger Binding="{Binding isActive}" Value="True">
|
||||||
<Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}" />
|
<Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}" />
|
||||||
<Setter Property="Foreground" Value="Black" />
|
<Setter Property="Foreground" Value="Black" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}" />
|
||||||
</DataTrigger>
|
</DataTrigger>
|
||||||
</Style.Triggers>
|
</Style.Triggers>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
|
@ -34,6 +34,7 @@ namespace v2rayN.Views
|
||||||
lstProfiles.PreviewKeyDown += LstProfiles_PreviewKeyDown;
|
lstProfiles.PreviewKeyDown += LstProfiles_PreviewKeyDown;
|
||||||
lstProfiles.SelectionChanged += lstProfiles_SelectionChanged;
|
lstProfiles.SelectionChanged += lstProfiles_SelectionChanged;
|
||||||
lstProfiles.LoadingRow += LstProfiles_LoadingRow;
|
lstProfiles.LoadingRow += LstProfiles_LoadingRow;
|
||||||
|
lstProfiles.RowHeaderWidth = 30;
|
||||||
if (_config.uiItem.enableDragDropSort)
|
if (_config.uiItem.enableDragDropSort)
|
||||||
{
|
{
|
||||||
lstProfiles.AllowDrop = true;
|
lstProfiles.AllowDrop = true;
|
||||||
|
|
Loading…
Reference in New Issue