aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml
diff options
context:
space:
mode:
authorRoy <roy.mail.net@gmail.com>2017-12-09 15:47:33 +0200
committerRoy <roy.mail.net@gmail.com>2017-12-09 15:47:33 +0200
commitb8e6e2c5d95f970907a2888fda13c14c5188d152 (patch)
tree98d460b083adac051d2400589c38b38d914e1073 /Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml
parent59c8532c05d3dcdd99589ed9983f11601a867bad (diff)
downloadTango-b8e6e2c5d95f970907a2888fda13c14c5188d152.tar.gz
Tango-b8e6e2c5d95f970907a2888fda13c14c5188d152.zip
Many improvements on stubs execution GUI.
Implemented stub abort!
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml')
-rw-r--r--Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml28
1 files changed, 25 insertions, 3 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml b/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml
index a1ebbb21f..52f5a030f 100644
--- a/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml
+++ b/Software/Visual_Studio/Tango.SharedUI/Controls/ScriptEditorControl.xaml
@@ -43,10 +43,32 @@
</Button>
<Rectangle Margin="20 7 10 5" HorizontalAlignment="Center" VerticalAlignment="Stretch" Stroke="#3E3E3E" StrokeThickness="2"></Rectangle>
<Button Cursor="Hand" Margin="10 0 0 0" ToolTip="Run (F5)" Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=RunCommand}" Style="{DynamicResource MetroCircleButtonStyle}" Width="16" Height="16">
- <fa:ImageAwesome Icon="Play" Foreground="#8DD28A"></fa:ImageAwesome>
+ <fa:ImageAwesome Icon="Play">
+ <fa:ImageAwesome.Style>
+ <Style TargetType="fa:ImageAwesome">
+ <Setter Property="Foreground" Value="#8DD28A"></Setter>
+ <Style.Triggers>
+ <Trigger Property="IsEnabled" Value="False">
+ <Setter Property="Foreground" Value="Gray"></Setter>
+ </Trigger>
+ </Style.Triggers>
+ </Style>
+ </fa:ImageAwesome.Style>
+ </fa:ImageAwesome>
</Button>
- <Button Cursor="Hand" Margin="15 0 0 0" IsEnabled="False" ToolTip="Stop" Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=StopCommand}" Style="{DynamicResource MetroCircleButtonStyle}" Width="14" Height="14">
- <fa:ImageAwesome Icon="Stop" Foreground="#F38B76"></fa:ImageAwesome>
+ <Button Cursor="Hand" Margin="15 0 0 0" ToolTip="Stop" Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=StopCommand}" Style="{DynamicResource MetroCircleButtonStyle}" Width="14" Height="14">
+ <fa:ImageAwesome Icon="Stop">
+ <fa:ImageAwesome.Style>
+ <Style TargetType="fa:ImageAwesome">
+ <Setter Property="Foreground" Value="#F38B76"></Setter>
+ <Style.Triggers>
+ <Trigger Property="IsEnabled" Value="False">
+ <Setter Property="Foreground" Value="Gray"></Setter>
+ </Trigger>
+ </Style.Triggers>
+ </Style>
+ </fa:ImageAwesome.Style>
+ </fa:ImageAwesome>
</Button>
</StackPanel>
</ToolBar>