Make the run switch a switch, and split the tuning tolerance by mode
Three things you could not see or could not set. Run and S&P were a label saying which one you were in. They are two buttons now, the one you are in marked, either one clickable, which is what N1MM has. Ctrl+? and F1 still work. The tuning tolerance is one number per mode, as N1MM keeps it: CW, phone and digital, 300 Hz each, which are its defaults. A phone signal is wide and a CW one is not, so one number for both was wrong. The bearing line went blank whenever it could not be worked out, which looks exactly like a missing feature. It now says which end could not be placed and what to do — no country file, no position for your own station, or a callsign the country file does not place. It also gives miles beside the kilometres, as N1MM does. While clicking it: a marked button lost its mark under the pointer, because the theme paints its own background there. The band buttons had the same fault. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,21 @@
|
||||
<Setter Property="Padding" Value="6,2" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
</Style>
|
||||
<Style Selector="Button.mode">
|
||||
<Setter Property="FontSize" Value="12" />
|
||||
<Setter Property="Padding" Value="8,1" />
|
||||
<Setter Property="MinWidth" Value="44" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
</Style>
|
||||
<Style Selector="Button.mode.here">
|
||||
<Setter Property="Background" Value="#2980B9" />
|
||||
<Setter Property="Foreground" Value="White" />
|
||||
</Style>
|
||||
<!-- the theme paints its own background under the pointer, which would
|
||||
hide the mark on the button that is on -->
|
||||
<Style Selector="Button.mode.here:pointerover /template/ ContentPresenter">
|
||||
<Setter Property="Background" Value="#3498DB" />
|
||||
</Style>
|
||||
<Style Selector="Button.band">
|
||||
<Setter Property="FontSize" Value="11" />
|
||||
<Setter Property="Padding" Value="4,1" />
|
||||
@@ -28,6 +43,9 @@
|
||||
<Setter Property="Background" Value="#2980B9" />
|
||||
<Setter Property="Foreground" Value="White" />
|
||||
</Style>
|
||||
<Style Selector="Button.band.here:pointerover /template/ ContentPresenter">
|
||||
<Setter Property="Background" Value="#3498DB" />
|
||||
</Style>
|
||||
<Style Selector="Button.fkey">
|
||||
<Setter Property="FontSize" Value="11" />
|
||||
<Setter Property="Padding" Value="6,3" />
|
||||
@@ -119,10 +137,8 @@
|
||||
VerticalAlignment="Center" />
|
||||
<Ellipse Name="TransmitLight" Width="9" Height="9" Fill="#33808080"
|
||||
VerticalAlignment="Center" />
|
||||
<Border Name="RunBorder" Padding="6,1" CornerRadius="3" Background="#22808080"
|
||||
Margin="4,0,0,0">
|
||||
<TextBlock Name="RunText" FontSize="12" Text="S&P" />
|
||||
</Border>
|
||||
<Button Name="RunButton" Classes="mode" Content="Run" Click="OnRun" Margin="4,0,0,0" />
|
||||
<Button Name="SearchButton" Classes="mode" Content="S&P" Click="OnSearch" />
|
||||
</StackPanel>
|
||||
<TextBlock Grid.Column="3" Name="ContestText" FontSize="12" Opacity="0.75"
|
||||
VerticalAlignment="Center" Margin="12,0,12,0" Text="no contest"
|
||||
|
||||
Reference in New Issue
Block a user