mirror of https://github.com/2dust/v2rayN
Adjust some settings
parent
33322e8795
commit
288c02e092
|
@ -17,7 +17,6 @@
|
||||||
"auto_route": true,
|
"auto_route": true,
|
||||||
"strict_route": $strict_route$,
|
"strict_route": $strict_route$,
|
||||||
"stack": "$stack$",
|
"stack": "$stack$",
|
||||||
"endpoint_independent_nat": true,
|
|
||||||
"sniff": true
|
"sniff": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -7,6 +7,5 @@
|
||||||
"auto_route":true,
|
"auto_route":true,
|
||||||
"strict_route":false,
|
"strict_route":false,
|
||||||
"stack":"system",
|
"stack":"system",
|
||||||
"endpoint_independent_nat":true,
|
|
||||||
"sniff":true
|
"sniff":true
|
||||||
}
|
}
|
|
@ -252,12 +252,7 @@ namespace v2rayN.Views
|
||||||
|
|
||||||
private void LstProfiles_LoadingRow(object? sender, DataGridRowEventArgs e)
|
private void LstProfiles_LoadingRow(object? sender, DataGridRowEventArgs e)
|
||||||
{
|
{
|
||||||
//if (e.Row.GetIndex() == 0)
|
e.Row.Header = $" {e.Row.GetIndex() + 1}";
|
||||||
//{
|
|
||||||
// lstProfiles.Focus();
|
|
||||||
//}
|
|
||||||
|
|
||||||
e.Row.Header = e.Row.GetIndex() + 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void LstProfiles_MouseDoubleClick(object sender, MouseButtonEventArgs e)
|
private void LstProfiles_MouseDoubleClick(object sender, MouseButtonEventArgs e)
|
||||||
|
|
|
@ -163,6 +163,7 @@
|
||||||
<TabItem HorizontalAlignment="Left" Header="{x:Static resx:ResUI.TbRoutingTabRuleList}">
|
<TabItem HorizontalAlignment="Left" Header="{x:Static resx:ResUI.TbRoutingTabRuleList}">
|
||||||
<DataGrid
|
<DataGrid
|
||||||
x:Name="lstRoutings"
|
x:Name="lstRoutings"
|
||||||
|
Margin="2,0"
|
||||||
AutoGenerateColumns="False"
|
AutoGenerateColumns="False"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
CanUserAddRows="False"
|
CanUserAddRows="False"
|
||||||
|
@ -212,7 +213,7 @@
|
||||||
</DataGrid.Resources>
|
</DataGrid.Resources>
|
||||||
<DataGrid.Columns>
|
<DataGrid.Columns>
|
||||||
<DataGridTextColumn
|
<DataGridTextColumn
|
||||||
Width="200"
|
Width="250"
|
||||||
Binding="{Binding remarks}"
|
Binding="{Binding remarks}"
|
||||||
Header="{x:Static resx:ResUI.LvRemarks}" />
|
Header="{x:Static resx:ResUI.LvRemarks}" />
|
||||||
<DataGridTextColumn
|
<DataGridTextColumn
|
||||||
|
@ -224,11 +225,11 @@
|
||||||
Binding="{Binding sort}"
|
Binding="{Binding sort}"
|
||||||
Header="{x:Static resx:ResUI.LvSort}" />
|
Header="{x:Static resx:ResUI.LvSort}" />
|
||||||
<DataGridTextColumn
|
<DataGridTextColumn
|
||||||
Width="260"
|
Width="300"
|
||||||
Binding="{Binding url}"
|
Binding="{Binding url}"
|
||||||
Header="{x:Static resx:ResUI.LvUrl}" />
|
Header="{x:Static resx:ResUI.LvUrl}" />
|
||||||
<DataGridTextColumn
|
<DataGridTextColumn
|
||||||
Width="260"
|
Width="300"
|
||||||
Binding="{Binding customIcon}"
|
Binding="{Binding customIcon}"
|
||||||
Header="{x:Static resx:ResUI.LvCustomIcon}" />
|
Header="{x:Static resx:ResUI.LvCustomIcon}" />
|
||||||
</DataGrid.Columns>
|
</DataGrid.Columns>
|
||||||
|
|
Loading…
Reference in New Issue