Adjust some settings

pull/3842/head
2dust 2023-04-29 16:41:31 +08:00
parent 33322e8795
commit 288c02e092
4 changed files with 5 additions and 11 deletions

View File

@ -17,7 +17,6 @@
"auto_route": true,
"strict_route": $strict_route$,
"stack": "$stack$",
"endpoint_independent_nat": true,
"sniff": true
}
],

View File

@ -7,6 +7,5 @@
"auto_route":true,
"strict_route":false,
"stack":"system",
"endpoint_independent_nat":true,
"sniff":true
}

View File

@ -252,12 +252,7 @@ namespace v2rayN.Views
private void LstProfiles_LoadingRow(object? sender, DataGridRowEventArgs e)
{
//if (e.Row.GetIndex() == 0)
//{
// lstProfiles.Focus();
//}
e.Row.Header = e.Row.GetIndex() + 1;
e.Row.Header = $" {e.Row.GetIndex() + 1}";
}
private void LstProfiles_MouseDoubleClick(object sender, MouseButtonEventArgs e)

View File

@ -163,6 +163,7 @@
<TabItem HorizontalAlignment="Left" Header="{x:Static resx:ResUI.TbRoutingTabRuleList}">
<DataGrid
x:Name="lstRoutings"
Margin="2,0"
AutoGenerateColumns="False"
BorderThickness="1"
CanUserAddRows="False"
@ -212,7 +213,7 @@
</DataGrid.Resources>
<DataGrid.Columns>
<DataGridTextColumn
Width="200"
Width="250"
Binding="{Binding remarks}"
Header="{x:Static resx:ResUI.LvRemarks}" />
<DataGridTextColumn
@ -224,11 +225,11 @@
Binding="{Binding sort}"
Header="{x:Static resx:ResUI.LvSort}" />
<DataGridTextColumn
Width="260"
Width="300"
Binding="{Binding url}"
Header="{x:Static resx:ResUI.LvUrl}" />
<DataGridTextColumn
Width="260"
Width="300"
Binding="{Binding customIcon}"
Header="{x:Static resx:ResUI.LvCustomIcon}" />
</DataGrid.Columns>