mirror of https://github.com/2dust/v2rayN
Adjust some settings
parent
33322e8795
commit
288c02e092
|
@ -17,7 +17,6 @@
|
|||
"auto_route": true,
|
||||
"strict_route": $strict_route$,
|
||||
"stack": "$stack$",
|
||||
"endpoint_independent_nat": true,
|
||||
"sniff": true
|
||||
}
|
||||
],
|
||||
|
|
|
@ -7,6 +7,5 @@
|
|||
"auto_route":true,
|
||||
"strict_route":false,
|
||||
"stack":"system",
|
||||
"endpoint_independent_nat":true,
|
||||
"sniff":true
|
||||
}
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue