修复部分UI错误

This commit is contained in:
RMBGAME
2022-02-18 18:03:59 +08:00
parent fe4f11b868
commit 09a4e8b5dd
3 changed files with 5 additions and 11 deletions
@@ -97,7 +97,4 @@
<Setter Property="Background" Value="#3fffffff" />
</Style>
<Style Selector="ui|CommandBar:labelbottom /template/ Popup#OverflowPopup">
<Setter Property="VerticalOffset" Value="16" />
</Style>
</Styles>
@@ -131,7 +131,7 @@
</ui:CommandBarButton.Icon>
</ui:CommandBarButton>
<ui:CommandBarSeparator/>
<ui:CommandBarButton
Command="{Binding EditHostsFileCommand}"
Label="{ReflectionBinding Path=Res.CommunityFix_EditHostsFile,Mode=OneWay,Source={x:Static resx:R.Current}}">
@@ -153,7 +153,7 @@
<ui:PathIcon Data="{StaticResource DocumentEditDrawing}"/>
</ui:CommandBarButton.Icon>
</ui:CommandBarButton>
</ui:CommandBar.SecondaryCommands>
</ui:CommandBar>
</Border>
@@ -170,11 +170,11 @@
ClipToBounds="True"
Items="{ReflectionBinding Source={x:Static service:ProxyService.Current},Path=ProxyDomainsList,Mode=OneWay}"
SelectedItem="{ReflectionBinding Source={x:Static service:ProxyService.Current},Path=SelectGroup,Mode=TwoWay}"
VirtualizationMode="None"
AutoScrollToSelectedItem="True"
Background="Transparent">
<ListBox.ItemTemplate>
<DataTemplate>
<!--<Border Classes="paper" Background="{DynamicResource ThemeBrushKey}">-->
<!--<StackPanel>-->
<StackPanel Orientation="Horizontal"
Margin="20 15">
<CheckBox Classes="onlyCheckBox"
@@ -192,9 +192,6 @@
Margin="20 0 0 0">
</controls:ScrollingTextBlock>
</StackPanel>
<!--<Separator Classes="Separator" />-->
<!--</StackPanel>-->
<!--</Border>-->
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
+1 -1
View File
@@ -63,7 +63,7 @@ namespace System.Application.Settings
/// 代理时使用的解析主DNS
/// </summary>
public static SerializableProperty<string?> ProxyMasterDns { get; }
= GetProperty<string?>(defaultValue: IDnsAnalysisService.PrimaryDNS_Ali, autoSave: false);
= GetProperty<string?>(defaultValue: "System Default", autoSave: false);
#endregion
#region 本地代理设置