调整任务设置界面

This commit is contained in:
xu 2020-02-04 03:27:05 +08:00
parent 08ff8c7772
commit d334442d62

View File

@ -202,7 +202,7 @@
<TextBlock Text="纬度: " />
<TextBox Grid.Column="2"
Grid.ColumnSpan="2"
Margin="0,2,0,0"
Margin="0,2,5,0"
Text="{Binding TargetLat, UpdateSourceTrigger=PropertyChanged}" />
<TextBlock Grid.Row="1"
@ -210,19 +210,19 @@
<TextBox Grid.Row="1"
Grid.Column="2"
Grid.ColumnSpan="2"
Margin="0,2,0,0"
Margin="0,2,5,0"
Text="{Binding TargetLng, UpdateSourceTrigger=PropertyChanged}" />
<TextBlock Grid.Row="2"
Text="高度: " />
<TextBox Grid.Row="2"
Grid.Column="2"
Margin="0,2,0,0"
Margin="0,2,5,0"
Text="{Binding TargetAlt, UpdateSourceTrigger=PropertyChanged}" />
<Button Grid.Row="2"
Content="应用到所选"
Grid.Column="3" Margin="0,2,0,0"
Grid.Column="3" Margin="0,2,5,0"
Command="{Binding SetAllCopterAltCommand}"/>
</Grid>
<Separator Margin="0,2"/>
@ -236,7 +236,7 @@
</Grid.ColumnDefinitions>
<CheckBox Content="返航点" ToolTip="勾选后航点仅高度有用,经纬度无效,无视原点自动飞回起飞点" Margin="0,2,0,0" IsChecked="{Binding IsLandWaypoint,UpdateSourceTrigger=PropertyChanged}" />
<Button Content="应用到所选" Margin="0,2,0,0" Command="{Binding SetIsLandCommand}" Grid.Column="1"/>
<Button Content="应用到所选" Margin="0,2,5,0" Command="{Binding SetIsLandCommand}" Grid.Column="1"/>
</Grid>
@ -255,18 +255,18 @@
</Grid.RowDefinitions>
<CheckBox Content="改变速度" Margin="0,2"
IsChecked="{Binding IsChangeSpeed, UpdateSourceTrigger=PropertyChanged}"/>
<StackPanel Margin="0,2" Grid.Column="1">
<TextBlock Text="水平"/>
<TextBox Width="45" Margin="5,0,0,5"
<StackPanel Margin="0,0" Grid.Column="1">
<TextBlock Text="水平" Margin="0,0,5,5" VerticalAlignment ="Center" />
<TextBox Width="45" Margin="5,0,5,5" VerticalAlignment ="Center"
Text="{Binding LevelSpeed, UpdateSourceTrigger=PropertyChanged}"/>
<TextBlock Text="上升" Margin="15,0,0,0"/>
<TextBox Width="45" Margin="5,0,0,5"
<TextBlock Text="上升" Margin="0,0,5,5" VerticalAlignment ="Center" />
<TextBox Width="45" Margin="5,0,0,5" VerticalAlignment="Center"
Text="{Binding UpSpeed, UpdateSourceTrigger=PropertyChanged}"/>
<TextBlock Text="下降" Margin="15,0,0,0"/>
<TextBox Width="45" Margin="5,0,0,5"
<TextBlock Text="下降" Margin="5,0,0,5" VerticalAlignment ="Center" />
<TextBox Width="45" Margin="5,0,5,5" VerticalAlignment="Center"
Text="{Binding DownSpeed, UpdateSourceTrigger=PropertyChanged}"/>
</StackPanel>
<Button Content="应用到所选" Grid.Row="1" Grid.Column="1" Command="{Binding SetIsChangeCommand}"/>
<Button Content="应用到所选" Margin="5,0,5,5" Grid.Row="1" Grid.Column="1" Command="{Binding SetIsChangeCommand}"/>
</Grid>
</StackPanel>