mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 08:04:26 +08:00
51 lines
2.3 KiB
XML
51 lines
2.3 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
d:DesignWidth="420"
|
|
d:DesignHeight="280"
|
|
x:Class="LanMontainDesktop.Views.Components.StudyEnvironmentWidgetSettingsWindow">
|
|
<Border Background="{DynamicResource AdaptiveBackgroundBrush}"
|
|
Padding="16">
|
|
<StackPanel Spacing="10">
|
|
<TextBlock x:Name="TitleTextBlock"
|
|
Text="环境组件设置"
|
|
FontSize="18"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource AdaptiveTextPrimaryBrush}" />
|
|
|
|
<TextBlock x:Name="DescriptionTextBlock"
|
|
Text="配置右侧噪音值展示。"
|
|
FontSize="12"
|
|
TextWrapping="Wrap"
|
|
Foreground="{DynamicResource AdaptiveTextSecondaryBrush}" />
|
|
|
|
<Border Background="{DynamicResource AdaptiveSurfaceRaisedBrush}"
|
|
BorderBrush="{DynamicResource AdaptiveButtonBorderBrush}"
|
|
BorderThickness="1"
|
|
CornerRadius="12"
|
|
Padding="10">
|
|
<StackPanel Spacing="8">
|
|
<CheckBox x:Name="ShowDisplayDbCheckBox"
|
|
IsChecked="True"
|
|
Content="显示 display dB"
|
|
Checked="OnDisplayModeChanged"
|
|
Unchecked="OnDisplayModeChanged" />
|
|
<CheckBox x:Name="ShowDbfsCheckBox"
|
|
IsChecked="False"
|
|
Content="显示 dBFS"
|
|
Checked="OnDisplayModeChanged"
|
|
Unchecked="OnDisplayModeChanged" />
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<TextBlock x:Name="HintTextBlock"
|
|
Text="至少启用一种显示方式。"
|
|
FontSize="11"
|
|
TextWrapping="Wrap"
|
|
Foreground="{DynamicResource AdaptiveTextSecondaryBrush}" />
|
|
</StackPanel>
|
|
</Border>
|
|
</UserControl>
|