add:多屏支持
This commit is contained in:
@@ -20,6 +20,9 @@
|
|||||||
<FrameworkElement.Resources>
|
<FrameworkElement.Resources>
|
||||||
<sys:Double x:Key="SettingsCardSpacing">4</sys:Double>
|
<sys:Double x:Key="SettingsCardSpacing">4</sys:Double>
|
||||||
<c:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
|
<c:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
|
||||||
|
<Style TargetType="ui:FontIcon">
|
||||||
|
<Setter Property="FontSize" Value="24" />
|
||||||
|
</Style>
|
||||||
<Style x:Key="SettingsSectionHeaderTextBlockStyle"
|
<Style x:Key="SettingsSectionHeaderTextBlockStyle"
|
||||||
BasedOn="{StaticResource BodyStrongTextBlockStyle}"
|
BasedOn="{StaticResource BodyStrongTextBlockStyle}"
|
||||||
TargetType="TextBlock">
|
TargetType="TextBlock">
|
||||||
@@ -60,17 +63,23 @@
|
|||||||
<controls:LabeledSettingsCard x:Name="CardMultiScreenSupport"
|
<controls:LabeledSettingsCard x:Name="CardMultiScreenSupport"
|
||||||
Header="多屏支持"
|
Header="多屏支持"
|
||||||
Description="启用后将根据当前显示器环境启用多屏逻辑"
|
Description="启用后将根据当前显示器环境启用多屏逻辑"
|
||||||
Icon="{x:Static ui:SegoeFluentIcons.BackToWindow}"
|
|
||||||
SwitchName="ToggleSwitchMultiScreenSupport"
|
SwitchName="ToggleSwitchMultiScreenSupport"
|
||||||
Toggled="ToggleSwitchMultiScreenSupport_Toggled" />
|
Toggled="ToggleSwitchMultiScreenSupport_Toggled">
|
||||||
|
<controls:LabeledSettingsCard.HeaderIcon>
|
||||||
|
<ui:FontIcon Icon="{x:Static ui:FluentSystemIcons.Desktop_24_Regular}" />
|
||||||
|
</controls:LabeledSettingsCard.HeaderIcon>
|
||||||
|
</controls:LabeledSettingsCard>
|
||||||
|
|
||||||
<controls:LabeledSettingsCard x:Name="CardFollowMouseScreen"
|
<controls:LabeledSettingsCard x:Name="CardFollowMouseScreen"
|
||||||
Header="自动跟随鼠标选择显示屏"
|
Header="自动跟随鼠标选择显示屏"
|
||||||
Description="默认开启:自动以鼠标所在显示屏作为当前目标显示屏"
|
Description="默认开启:自动以鼠标所在显示屏作为当前目标显示屏"
|
||||||
Icon="{x:Static ui:SegoeFluentIcons.TouchPointer}"
|
|
||||||
Visibility="{Binding IsOn, ElementName=CardMultiScreenSupport, Converter={StaticResource BooleanToVisibilityConverter}}"
|
Visibility="{Binding IsOn, ElementName=CardMultiScreenSupport, Converter={StaticResource BooleanToVisibilityConverter}}"
|
||||||
SwitchName="ToggleSwitchFollowMouseScreen"
|
SwitchName="ToggleSwitchFollowMouseScreen"
|
||||||
Toggled="ToggleSwitchFollowMouseScreen_Toggled" />
|
Toggled="ToggleSwitchFollowMouseScreen_Toggled">
|
||||||
|
<controls:LabeledSettingsCard.HeaderIcon>
|
||||||
|
<ui:FontIcon Icon="{x:Static ui:FluentSystemIcons.Desktop_24_Regular}" />
|
||||||
|
</controls:LabeledSettingsCard.HeaderIcon>
|
||||||
|
</controls:LabeledSettingsCard>
|
||||||
|
|
||||||
<ui:SettingsExpander x:Name="ExpanderAlwaysOnTop"
|
<ui:SettingsExpander x:Name="ExpanderAlwaysOnTop"
|
||||||
Header="{i18n:I18n Key=Startup_TopMost}"
|
Header="{i18n:I18n Key=Startup_TopMost}"
|
||||||
|
|||||||
Reference in New Issue
Block a user