Files
LanMountainDesktop/LanMontainDesktop/Views/Components/StudyEnvironmentWidgetSettingsWindow.axaml

51 lines
2.3 KiB
Plaintext
Raw Normal View History

2026-03-04 11:28:59 +08:00
<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>