|
35 | 35 | <RowDefinition Height="Auto"/>
|
36 | 36 | <RowDefinition Height="Auto"/>
|
37 | 37 | <RowDefinition Height="Auto"/>
|
| 38 | + <RowDefinition Height="Auto"/> |
38 | 39 | <RowDefinition Height="*"/>
|
39 | 40 | <RowDefinition Height="Auto" />
|
40 | 41 | </Grid.RowDefinitions>
|
41 |
| - <TextBlock Grid.Row="0" Grid.Column="0" Text="Available Connections" Margin="16" Foreground="{StaticResource AccentSelectedColorBrush}" /> |
42 |
| - <Button Grid.Row="0" Grid.Column="1" Content="Rescan" Margin="10,10,10,10" Width="80" Style="{StaticResource AccentedSquareButtonStyle}" HorizontalAlignment="Right" Command="{Binding RescanCommand}" /> |
| 42 | + <TextBlock Grid.Row="0" Grid.Column="0" Text="Available Connections" Margin="16,16,16,17" Foreground="{StaticResource AccentSelectedColorBrush}" /> |
| 43 | + <Button Grid.Row="0" Grid.Column="1" Content="Rescan" Margin="0,10,10,11" Width="80" Style="{StaticResource AccentedSquareButtonStyle}" HorizontalAlignment="Right" Command="{Binding RescanCommand}" /> |
43 | 44 | <ListBox Grid.Row="0"
|
44 | 45 | Grid.Column="1"
|
45 |
| - Grid.RowSpan="2" |
46 | 46 | VerticalAlignment="Top"
|
47 | 47 | ItemsSource="{Binding AvailableDevices,Mode=OneWay}"
|
48 | 48 | ItemsPanel="{StaticResource ListBoxItemsPanel}"
|
|
53 | 53 | HorizontalAlignment="Stretch"
|
54 | 54 | MinWidth="20"
|
55 | 55 | Background="Transparent"
|
56 |
| - Margin="0,12,100,16"> |
| 56 | + Margin="0,12,100,0"> |
57 | 57 | <ListBox.ItemTemplate>
|
58 | 58 | <DataTemplate DataType="string">
|
59 | 59 | <Grid >
|
|
63 | 63 | </ListBox.ItemTemplate>
|
64 | 64 | </ListBox>
|
65 | 65 |
|
66 |
| - <TextBlock Grid.Row="2" Grid.Column="0" Text="Roll Level:" HorizontalAlignment="Right" Margin="0,10,10,10" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowLevelDisplay, Converter={StaticResource CollapseOnFalse}}" /> |
67 |
| - <local:LevelDisplay Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Value="{Binding RollOffset}" Range="3" Labels="-3|-2|-1|0|1|2|3" Margin="10,5,20,5" Visibility="{Binding ShowLevelDisplay, Converter={StaticResource CollapseOnFalse}}" /> |
68 |
| - |
69 |
| - <TextBlock Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Text="{Binding GPSStatus}" HorizontalAlignment="Center" Margin="10,5,10,20" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowGPSStatus, Converter={StaticResource ShowOnTrue}}"/> |
| 66 | + <TextBlock Grid.Row="2" Grid.Column="0" Text="Pitch Level:" HorizontalAlignment="Right" Margin="0,20,9,11" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowLevelDisplay, Converter={StaticResource CollapseOnFalse}}" /> |
| 67 | + <local:LevelDisplay Grid.Row="2" Grid.Column="1" Value="{Binding PitchOffset}" Range="3" Labels="-3|-2|-1|0|1|2|3" Margin="10,24,20,6" Visibility="{Binding ShowLevelDisplay, Converter={StaticResource CollapseOnFalse}}" /> |
| 68 | + |
| 69 | + <TextBlock Grid.Row="3" Grid.Column="0" Text="Roll Level:" HorizontalAlignment="Right" Margin="0,0,9,11" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowLevelDisplay, Converter={StaticResource CollapseOnFalse}}" /> |
| 70 | + <local:LevelDisplay Grid.Row="3" Grid.Column="1" Value="{Binding RollOffset}" Range="3" Labels="-3|-2|-1|0|1|2|3" Margin="10,4,20,6" Visibility="{Binding ShowLevelDisplay, Converter={StaticResource CollapseOnFalse}}" /> |
| 71 | + |
| 72 | + <TextBlock Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" Text="{Binding GPSStatus}" HorizontalAlignment="Center" Margin="10" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowGPSStatus, Converter={StaticResource ShowOnTrue}}"/> |
70 | 73 |
|
71 |
| - <TextBlock Grid.Row="4" Grid.Column="0" Text="Latitude" HorizontalAlignment="Right" Margin="0,5,9,10" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
72 |
| - <TextBox Grid.Row="4" Grid.Column="1" Text="{Binding Latitude}" Width="150" FontWeight="Bold" FontSize="16" Foreground="{StaticResource AccentSelectedColorBrush}" Background="{StaticResource AccentColorBrush2}" Margin="5,0,0,5" HorizontalAlignment="Left" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
| 74 | + <TextBlock Grid.Row="5" Grid.Column="0" Text="Latitude" HorizontalAlignment="Right" Margin="0,5,8,10" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
| 75 | + <TextBox Grid.Row="5" Grid.Column="1" Text="{Binding Latitude}" Width="150" FontWeight="Bold" FontSize="16" Foreground="{StaticResource AccentSelectedColorBrush}" Background="{StaticResource AccentColorBrush2}" Margin="5,0,0,5" HorizontalAlignment="Left" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
73 | 76 |
|
74 |
| - <TextBlock Grid.Row="5" Grid.Column="0" Text="Longitude" HorizontalAlignment="Right" Margin="0,10,10,10" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
75 |
| - <TextBox Grid.Row="5" Grid.Column="1" Text="{Binding Longitude}" Width="150" FontWeight="Bold" FontSize="16" Foreground="{StaticResource AccentSelectedColorBrush}" Background="{StaticResource AccentColorBrush2}" Margin="5,5,0,5" HorizontalAlignment="Left" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
| 77 | + <TextBlock Grid.Row="6" Grid.Column="0" Text="Longitude" HorizontalAlignment="Right" Margin="0,10,10,10" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
| 78 | + <TextBox Grid.Row="6" Grid.Column="1" Text="{Binding Longitude}" Width="150" FontWeight="Bold" FontSize="16" Foreground="{StaticResource AccentSelectedColorBrush}" Background="{StaticResource AccentColorBrush2}" Margin="5,5,0,5" HorizontalAlignment="Left" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
76 | 79 |
|
77 |
| - <TextBlock Grid.Row="6" Grid.Column="0" Text="Altitude" HorizontalAlignment="Right" Margin="0,10,9,10" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
78 |
| - <TextBox Grid.Row="6" Grid.Column="1" Text="{Binding Altitude}" Width="150" FontWeight="Bold" FontSize="16" Foreground="{StaticResource AccentSelectedColorBrush}" Background="{StaticResource AccentColorBrush2}" Margin="5,5,0,5" HorizontalAlignment="Left" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
| 80 | + <TextBlock Grid.Row="7" Grid.Column="0" Text="Altitude" HorizontalAlignment="Right" Margin="0,10,8,10" Foreground="{StaticResource AccentSelectedColorBrush}" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
| 81 | + <TextBox Grid.Row="7" Grid.Column="1" Text="{Binding Altitude}" Width="150" FontWeight="Bold" FontSize="16" Foreground="{StaticResource AccentSelectedColorBrush}" Background="{StaticResource AccentColorBrush2}" Margin="5,5,0,5" HorizontalAlignment="Left" Visibility="{Binding ShowManualLocation, Converter={StaticResource CollapseOnFalse}}" /> |
79 | 82 |
|
80 |
| - <Grid Grid.Row="8" HorizontalAlignment="Stretch" Grid.ColumnSpan="2"> |
| 83 | + <Grid Grid.Row="9" HorizontalAlignment="Stretch" Grid.ColumnSpan="2"> |
81 | 84 | <Grid.ColumnDefinitions>
|
82 | 85 | <ColumnDefinition Width="Auto" />
|
83 | 86 | <ColumnDefinition Width="*" />
|
|
0 commit comments