|
562 | 562 | Style="{StaticResource EmphasizedTitle}" |
563 | 563 | Grid.Row="1" Grid.Column="0" |
564 | 564 | HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,9,10,0" /> |
565 | | - <ItemsControl Grid.Row="1" Grid.Column="1" ItemsSource="{Binding AudioChoices}" Width="220" MinHeight="31" MaxHeight="58" HorizontalAlignment="Left" Style="{StaticResource RightGridItem}"> |
566 | | - <ItemsControl.ItemTemplate> |
567 | | - <DataTemplate> |
568 | | - <StackPanel Orientation="Horizontal"> |
569 | | - <ComboBox ItemsSource="{Binding MainViewModel.InputTracks}" SelectedIndex="{Binding SelectedIndex}" Width="180" Margin="2" /> |
570 | | - <Button Command="{Binding RemoveChoice}" Height="23" Margin="2" Style="{StaticResource RemoveButtonStyle}">Remove audio track</Button> |
571 | | - </StackPanel> |
572 | | - </DataTemplate> |
573 | | - </ItemsControl.ItemTemplate> |
574 | | - <ItemsControl.Template> |
575 | | - <ControlTemplate> |
576 | | - <ScrollViewer Margin="0" Focusable="False" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled"> |
577 | | - <StackPanel Orientation="Vertical" Margin="2" IsItemsHost="True" /> |
578 | | - </ScrollViewer> |
579 | | - </ControlTemplate> |
580 | | - </ItemsControl.Template> |
581 | | - </ItemsControl> |
582 | | - <Button Command="{Binding AddTrackCommand}" Grid.Column="1" Grid.Row="1" Margin="230.433,7,0,0" Name="button1" HorizontalAlignment="Left" Width="74.92" Height="23" VerticalAlignment="Top"> |
583 | | - <StackPanel Orientation="Horizontal"> |
584 | | - <Polygon Style="{StaticResource PlusSign}" /> |
585 | | - <TextBlock Text="Add Track" /> |
586 | | - </StackPanel> |
587 | | - </Button> |
| 565 | + <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal"> |
| 566 | + <ItemsControl Grid.Row="1" Grid.Column="1" ItemsSource="{Binding AudioChoices}" MinHeight="31" MaxHeight="58" HorizontalAlignment="Left" Style="{StaticResource RightGridItem}"> |
| 567 | + <ItemsControl.ItemTemplate> |
| 568 | + <DataTemplate> |
| 569 | + <StackPanel Orientation="Horizontal"> |
| 570 | + <ComboBox ItemsSource="{Binding MainViewModel.InputTracks}" SelectedIndex="{Binding SelectedIndex}" MinWidth="180" Margin="2" /> |
| 571 | + <Button Command="{Binding RemoveChoice}" Height="23" Margin="2" Style="{StaticResource RemoveButtonStyle}">Remove audio track</Button> |
| 572 | + </StackPanel> |
| 573 | + </DataTemplate> |
| 574 | + </ItemsControl.ItemTemplate> |
| 575 | + <ItemsControl.Template> |
| 576 | + <ControlTemplate> |
| 577 | + <ScrollViewer Margin="0" Focusable="False" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled"> |
| 578 | + <StackPanel Orientation="Vertical" Margin="2" IsItemsHost="True" /> |
| 579 | + </ScrollViewer> |
| 580 | + </ControlTemplate> |
| 581 | + </ItemsControl.Template> |
| 582 | + </ItemsControl> |
| 583 | + <Button Command="{Binding AddTrackCommand}" Grid.Column="1" Grid.Row="1" Margin="5,7,0,0" Name="button1" HorizontalAlignment="Left" Width="74.92" Height="23" VerticalAlignment="Top"> |
| 584 | + <StackPanel Orientation="Horizontal"> |
| 585 | + <Polygon Style="{StaticResource PlusSign}" /> |
| 586 | + <TextBlock Text="Add Track" /> |
| 587 | + </StackPanel> |
| 588 | + </Button> |
| 589 | + </StackPanel> |
| 590 | + |
588 | 591 |
|
589 | 592 | <TextBlock |
590 | 593 | HorizontalAlignment="Right" Margin="0,0,10,0" |
|
0 commit comments