|
@@ -122,19 +122,21 @@
|
|
|
</Grid>
|
|
|
</TabItem>
|
|
|
<TabItem Header="Manager">
|
|
|
- <StackPanel>
|
|
|
+ <Grid Margin="10" RowDefinitions="Auto,*,Auto">
|
|
|
<ComboBox
|
|
|
- Items="{Binding DownloadedVersions}"
|
|
|
- PlaceholderText="Select version"
|
|
|
- SelectedItem="{Binding DownloadedVersion}"
|
|
|
- IsEnabled="{Binding IsControlsEnabled}"
|
|
|
- HorizontalAlignment="Stretch"
|
|
|
- />
|
|
|
- <ScrollViewer Height="340">
|
|
|
+ Items="{Binding DownloadedVersions}"
|
|
|
+ PlaceholderText="Select version"
|
|
|
+ SelectedItem="{Binding DownloadedVersion}"
|
|
|
+ IsEnabled="{Binding IsControlsEnabled}"
|
|
|
+ HorizontalAlignment="Stretch"
|
|
|
+ Grid.Row="0"/>
|
|
|
+
|
|
|
<TreeView
|
|
|
Items="{Binding DownloadedVersionTree}"
|
|
|
IsEnabled="{Binding IsControlsEnabled}"
|
|
|
- x:Name="treeView">
|
|
|
+ x:Name="treeView"
|
|
|
+ Margin="0,10,0,0"
|
|
|
+ Grid.Row="1">
|
|
|
<TreeView.DataTemplates>
|
|
|
<TreeDataTemplate DataType="vm:TreeNode" ItemsSource="{Binding SubNode}">
|
|
|
<StackPanel>
|
|
@@ -143,8 +145,7 @@
|
|
|
</TreeDataTemplate>
|
|
|
</TreeView.DataTemplates>
|
|
|
</TreeView>
|
|
|
- </ScrollViewer>
|
|
|
- <Grid ColumnDefinitions="Auto,*" RowDefinitions="Auto" HorizontalAlignment="Center">
|
|
|
+ <Grid ColumnDefinitions="Auto,*" RowDefinitions="Auto" HorizontalAlignment="Center" Grid.Row="2">
|
|
|
<Button
|
|
|
Content="Delete"
|
|
|
HorizontalAlignment="Center"
|
|
@@ -160,7 +161,7 @@
|
|
|
Margin="0,10,0,0"
|
|
|
Grid.Row="0" Grid.Column="1"/>
|
|
|
</Grid>
|
|
|
- </StackPanel>
|
|
|
+ </Grid>
|
|
|
</TabItem>
|
|
|
</TabControl>
|
|
|
</DockPanel>
|