mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 16:14:28 +08:00
0.3.0
自习组件加入
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user