SPARK-536: Clearly

This commit is contained in:
Michael Harding committed 2018-02-26 17:11:58 -05:00
1 parent 2800c2bae3
commit e6239e878b
1 file changed
+4 -3
@@ -129,9 +129,7 @@
<ComboBox Margin="2,10,2,2" ItemsSource="{Binding accounts}" SelectedItem="{Binding account}"/>
<ComboBox ItemsSource="{Binding time_in_forces}" SelectedItem="{Binding selected_time_in_force}" Margin="2"/>
<uag:OrderDetailsPopupControl ItemsSource="{Binding order_types}" SelectedItem="{Binding selected_order_type}" Margin="2" ExpandDirection="Left"/>
<!-- reset to defaults after order -->
<CheckBox Margin="2" IsChecked="{Binding revert}">Revert</CheckBox>
<TextBox HorizontalContentAlignment="Right" Text="{Binding calculator.value}" Margin="2,0,2,2"/>
<ItemsControl ItemsSource="{Binding calculator.buttons}" Focusable="False">
<ItemsControl.ItemsPanel>
@@ -146,6 +144,9 @@
</ItemsControl.ItemTemplate>
</ItemsControl>
<Button Margin="2" HorizontalAlignment="Stretch" Command="{Binding calculator.clear}">Clear</Button>
<!-- reset to defaults after order -->
<CheckBox Margin="2" IsChecked="{Binding revert}">Auto Clear</CheckBox>
<StackPanel Margin="2,12,2,0">
<Button Command="{Binding cancel_command}" CommandParameter="All" Style="{StaticResource CancelAll}" Margin="0,5,0,0"/>
<Grid>