diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-03-08 16:56:05 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-03-08 16:56:05 +0200 |
| commit | 860c4f663dfdd2ba7676d7e02bf0509b30389cd5 (patch) | |
| tree | c3e529d1c18edcdb0ee5a3c147d4fc273d294f50 /Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views | |
| parent | ef563b18e8afc5a30beed830f1615c4277021225 (diff) | |
| download | Tango-860c4f663dfdd2ba7676d7e02bf0509b30389cd5.tar.gz Tango-860c4f663dfdd2ba7676d7e02bf0509b30389cd5.zip | |
Stubs UI improvements !
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views')
| -rw-r--r-- | Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml | 6 | ||||
| -rw-r--r-- | Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml.cs | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml index cf0ccf657..1ba809a28 100644 --- a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml +++ b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml @@ -280,7 +280,11 @@ <GroupBox Header="Response"> <Grid Background="#151515"> <TextBox x:Name="txtLog" FontFamily="Lucida Console" TextChanged="TextBox_TextChanged" Background="Transparent" BorderThickness="0" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" Padding="5" IsReadOnly="True" TextWrapping="Wrap" FontSize="11" Foreground="Gainsboro"></TextBox> - <Button HorizontalAlignment="Right" VerticalAlignment="Top" Width="80" Height="25" Margin="0 -32 -6 0" Command="{Binding ClearCommand}">CLEAR</Button> + + <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0 -32 -6 0"> + <CheckBox VerticalAlignment="Center" Margin="0 0 20 0" IsChecked="{Binding AppendLogAuto}">Log response automatically</CheckBox> + <Button Width="80" Height="25" Command="{Binding ClearCommand}">CLEAR</Button> + </StackPanel> </Grid> </GroupBox> <StatusBar Background="#007ACC" Grid.Row="1"> diff --git a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml.cs b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml.cs index 822dc1824..2e9878453 100644 --- a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml.cs +++ b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/Views/MainView.xaml.cs @@ -32,6 +32,8 @@ namespace Tango.Stubs.UI.Views { _vm = DataContext as MainViewVM; _vm.SetLogTextBox(txtLog); + + }; } |
