徐孝锋 8 месяцев назад
Родитель
Сommit
994584f125
1 измененных файлов с 20 добавлено и 4 удалено
  1. 20 4
      TeamAAS-VM/Controls/PlcRobotManual.xaml

+ 20 - 4
TeamAAS-VM/Controls/PlcRobotManual.xaml

@@ -294,20 +294,36 @@
                                 <StackPanel Orientation="Horizontal"
                                             HorizontalAlignment="Right"
                                             DockPanel.Dock="Right">
-                                    <Button Content="-"
+                                    <Button 
                                             Width="60"
                                             Height="36"
                                             Margin="6,0"
                                             Style="{StaticResource MaterialDesignRaisedDarkButton}"
                                             Command="{Binding DataContext.AdditionalAxisJogPlusCommand, RelativeSource={RelativeSource AncestorType=UserControl}}"
-                                            CommandParameter="{Binding}" />
-                                    <Button Content="+"
+                                            CommandParameter="{Binding}">
+                                        <StackPanel Orientation="Vertical">
+                                            <materialDesign:PackIcon Kind="ArrowLeftBold"
+                                                                     Width="26"
+                                                                     Height="26" />
+                                            <TextBlock Text="+"
+                                                       HorizontalAlignment="Center" />
+                                        </StackPanel>
+                                    </Button>
+                                    <Button 
                                             Width="60"
                                             Height="36"
                                             Margin="6,0"
                                             Style="{StaticResource MaterialDesignRaisedDarkButton}"
                                             Command="{Binding DataContext.AdditionalAxisJogMinusCommand, RelativeSource={RelativeSource AncestorType=UserControl}}"
-                                            CommandParameter="{Binding}" />
+                                            CommandParameter="{Binding}">
+                                        <StackPanel Orientation="Vertical">
+                                            <materialDesign:PackIcon Kind="ArrowRightBold"
+                                                                     Width="26"
+                                                                     Height="26" />
+                                            <TextBlock Text="-"
+                                                       HorizontalAlignment="Center" />
+                                        </StackPanel>
+                                    </Button>
                                     <Button Content="上使能"
                                             Width="60"
                                             Height="36"