Skip to content

Commit

Permalink
Reorganise Tracking Options dialog for Pi small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
davewalker5 committed Sep 25, 2023
1 parent 76c5838 commit 8e1585f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/BaseStationReader.UI/Views/TrackingOptionsWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
WindowStartupLocation="CenterOwner"
SizeToContent="WidthAndHeight">
<DockPanel Margin="10 10 10 10">
<Grid ColumnDefinitions="Auto, Auto" RowDefinitions="Auto, Auto, Auto, Auto, Auto, Auto, Auto, Auto, Auto, Auto, Auto">
<Grid ColumnDefinitions="Auto, Auto, Auto, Auto" RowDefinitions="Auto, Auto, Auto, Auto, Auto, Auto">
<Label Grid.Row="0" Grid.Column="0" Margin="0 0 10 10" >Host:</Label>
<TextBox Grid.Row="0" Grid.Column="1" Name="Host" Margin="0 0 10 10" KeyUp="OnHostKeyUp"/>

Expand All @@ -28,22 +28,22 @@
<Label Grid.Row="4" Grid.Column="0" Margin="0 0 10 10" >Time to stale (ms):</Label>
<TextBox Grid.Row="4" Grid.Column="1" Name="TimeToStale" Margin="0 0 10 10" KeyUp="OnTimeToStaleKeyUp"/>

<Label Grid.Row="5" Grid.Column="0" Margin="0 0 10 10" >Time to removal (ms):</Label>
<TextBox Grid.Row="5" Grid.Column="1" Name="TimeToRemoval" Margin="0 0 10 10" KeyUp="OnTimeToRemovalKeyUp"/>
<Label Grid.Row="0" Grid.Column="2" Margin="0 0 10 10" >Time to removal (ms):</Label>
<TextBox Grid.Row="0" Grid.Column="3" Name="TimeToRemoval" Margin="0 0 10 10" KeyUp="OnTimeToRemovalKeyUp"/>

<Label Grid.Row="6" Grid.Column="0" Margin="0 0 10 10" >Time to locked (ms):</Label>
<TextBox Grid.Row="6" Grid.Column="1" Name="TimeToLocked" Margin="0 0 10 10" KeyUp="OnTimeToLockedKeyUp"/>
<Label Grid.Row="1" Grid.Column="2" Margin="0 0 10 10" >Time to locked (ms):</Label>
<TextBox Grid.Row="1" Grid.Column="3" Name="TimeToLocked" Margin="0 0 10 10" KeyUp="OnTimeToLockedKeyUp"/>

<Label Grid.Row="7" Grid.Column="0" Margin="0 0 10 10" >Refresh interval (ms):</Label>
<TextBox Grid.Row="7" Grid.Column="1" Name="RefreshInterval" Margin="0 0 10 10" KeyUp="OnRefreshIntervalKeyUp"/>
<Label Grid.Row="2" Grid.Column="2" Margin="0 0 10 10" >Refresh interval (ms):</Label>
<TextBox Grid.Row="2" Grid.Column="3" Name="RefreshInterval" Margin="0 0 10 10" KeyUp="OnRefreshIntervalKeyUp"/>

<Label Grid.Row="8" Grid.Column="0" Margin="0 0 10 10" >Receiver Latitude:</Label>
<TextBox Grid.Row="8" Grid.Column="1" Name="ReceiverLatitude" Margin="0 0 10 10" KeyUp="OnReceiverLatitudeKeyUp"/>
<Label Grid.Row="3" Grid.Column="2" Margin="0 0 10 10" >Receiver Latitude:</Label>
<TextBox Grid.Row="3" Grid.Column="3" Name="ReceiverLatitude" Margin="0 0 10 10" KeyUp="OnReceiverLatitudeKeyUp"/>

<Label Grid.Row="9" Grid.Column="0" Margin="0 0 10 10" >Receiver Longitude:</Label>
<TextBox Grid.Row="9" Grid.Column="1" Name="ReceiverLongitude" Margin="0 0 10 10" KeyUp="OnReceiverLongitudeKeyUp"/>
<Label Grid.Row="4" Grid.Column="2" Margin="0 0 10 10" >Receiver Longitude:</Label>
<TextBox Grid.Row="4" Grid.Column="3" Name="ReceiverLongitude" Margin="0 0 10 10" KeyUp="OnReceiverLongitudeKeyUp"/>

<StackPanel Orientation="Horizontal" Grid.Row="10" Grid.Column="1" Margin="0 10 0 0">
<StackPanel Orientation="Horizontal" Grid.Row="5" Grid.Column="3" Margin="0 10 0 0">
<Button Command="{Binding SelectTrackingOptionsCommand}">OK</Button>
<Button Command="{Binding CancelTrackingOptionsCommand}" Margin="10 0 0 0">Cancel</Button>
</StackPanel>
Expand Down

0 comments on commit 8e1585f

Please sign in to comment.