Files
Nonemm/src/Nonemm.Recorder.App/MainWindow.axaml
T
erikbrockoandClaude Sonnet 5.5 75fc6c02d2 Stop the recorder from hiding text with a null foreground
Setting Foreground to null is a local value of no brush, so the Record
button, connected devices in the list and the status line had no text
colour. Clear the value instead. The bitrate step is now 4 kbps.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 03:55:20 +00:00

31 lines
1.8 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Nonemm.Recorder.App.MainWindow"
Title="Nonemm Recorder" Width="620" Height="460" MinWidth="520" MinHeight="300">
<DockPanel Margin="12">
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Spacing="8" Margin="0,0,0,10">
<Button Name="RecordButton" MinWidth="90" />
<Button Name="PauseButton" Content="Pause" MinWidth="90" IsEnabled="False" />
<TextBlock Name="TimeText" Text="00:00:00" VerticalAlignment="Center" FontSize="18" Margin="8,0,0,0" />
</StackPanel>
<Grid DockPanel.Dock="Bottom" ColumnDefinitions="Auto,*" RowDefinitions="Auto,Auto,Auto" Margin="0,10,0,0" ColumnSpacing="8" RowSpacing="6">
<Button Name="AddButton" Content="Add channel" />
<StackPanel Grid.Column="1" Orientation="Horizontal" Spacing="6" HorizontalAlignment="Right">
<TextBlock Text="Bitrate per channel" VerticalAlignment="Center" />
<NumericUpDown Name="BitrateBox" Minimum="6" Maximum="256" Increment="4" Value="32" Width="150" FormatString="0 &quot;kbps&quot;" />
</StackPanel>
<Grid Grid.Row="1" Grid.ColumnSpan="2" ColumnDefinitions="Auto,*,Auto" ColumnSpacing="8">
<TextBlock Text="Save in" VerticalAlignment="Center" />
<TextBox Name="FolderBox" Grid.Column="1" />
<Button Name="BrowseButton" Grid.Column="2" Content="Browse…" />
</Grid>
<TextBlock Name="StatusText" Grid.Row="2" Grid.ColumnSpan="2" TextWrapping="Wrap" />
</Grid>
<ScrollViewer>
<StackPanel Name="Rows" />
</ScrollViewer>
</DockPanel>
</Window>