The earlier pass checked wiring only; this is the typography sweep. Raw Foreground/FontSize labels are gone from the elements panel: - Opacity, Timer (minutes) and URI are headings above their control (PropertyHeader), with the control row on the panel's 10px indent — the same shape as Border Thickness/Opacity. - Scroll speed, scoreboard Opacity/Text size and their value readouts are PropertyFieldLabel. - The drag hint and the scoreboard sign-in note are PropertyHint. - Simulate (dev) keeps its orange, gains the field-label typography. - Edge, Text colour and Background were PropertySubHeader/SubHeader: ONE heading rank now, so PropertySubHeader and the legacy SubHeader are deleted from Themes/Controls.xaml. - DeveloperPanel — the last panel with raw typography and an unstyled CheckBox — now uses the same styles, and PropertiesStyleTests accepts PropertyPillCheck (the guard went stale when every check box became a pill switch). 18 tests pass; Release 0 warnings.
22 lines
1.3 KiB
XML
22 lines
1.3 KiB
XML
<UserControl x:Class="ytLive.Controls.DeveloperPanel"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
<!-- ⛔ THIS FILE IS EXCLUDED FROM THE RELEASE COMPILE (see ytLive.csproj: Page Remove +
|
|
Compile Remove under '$(Configuration) != Debug'). It is not merely hidden in a
|
|
Release build — its BAML never exists, so there is nothing to reveal. Do not add it
|
|
to a window or reference it from code that compiles in Release; the only host is
|
|
OverlayHost.xaml.cs inside #if DEBUG. -->
|
|
<StackPanel>
|
|
<TextBlock Text="Developer" Style="{StaticResource PropertyHeader}"
|
|
Foreground="{StaticResource Brush.Attention}"/>
|
|
|
|
<CheckBox Style="{StaticResource PropertyPillCheck}" Margin="10,2,0,0"
|
|
IsChecked="{Binding DeveloperMode, Mode=TwoWay}"
|
|
Content="Developer mode — all resolutions, output budget ignored"/>
|
|
|
|
<TextBlock Text="Debug builds only. Overrides the free output profile (921,600 px / 30 fps). Never present in a release build."
|
|
Style="{StaticResource PropertyHint}" Foreground="{StaticResource Brush.Attention}"
|
|
Margin="10,4,0,8"/>
|
|
</StackPanel>
|
|
</UserControl>
|