Fix l'ecran de creation du XSB

This commit is contained in:
2022-07-30 23:27:14 +02:00
parent 2633fcf8ee
commit ba5a6c16e0
2 changed files with 10 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ namespace LaDOSE.DesktopApp.ViewModels
this.RestService = restService;
Data = new ObservableCollection<KiouzeFile>();
this.Slug = "tag-team-tuesdays-umvc3-team-tournament-2";
this.Chars = "akuma;blanka;boxer;cammy;chunli;claw;deejay;dhalsim;dictator;feilong;guile;honda;ken;ryu;sagat;thawk;zangief";
this.Chars = "akuma;blanka;boxer;cammy;chunli;claw;deejay;dhalsim;dictator;feilong;guile;honda;ken;ryu;sagat;thawk;zangief;o_blanka;o_boxer;o_cammy;o_chunli;o_claw;o_deejay;o_dhalsim;o_dictator;o_feilong;o_guile;o_honda;o_ken;o_ryu;o_sagat;o_thawk;o_zangief";
}

View File

@@ -27,23 +27,27 @@
<TextBox Text="{Binding Chars}"></TextBox>
</DockPanel>
<ListView Grid.Row="2" ItemsSource="{Binding Data}" x:Name="GamesListView">
<ListView Grid.Row="2" ItemsSource="{Binding Data}" x:Name="GamesListView" IsTabStop="False" KeyboardNavigation.TabNavigation="Cycle">
<ListView.ItemContainerStyle>
<Style TargetType="ListViewItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
<Setter Property="IsTabStop" Value="False"></Setter>
</Style>
</ListView.ItemContainerStyle>
<ListView.ItemTemplate>
<DataTemplate>
<Grid>
<Grid Focusable="False">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*" Focusable="False"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Content="{Binding player}" ></Label>
<ComboBox Grid.Column="1" Text="{Binding character}" ItemsSource="{Binding DataContext.CharList, RelativeSource={RelativeSource AncestorType=UserControl}}"></ComboBox>
<Label IsTabStop="False" Grid.Column="0" Content="{Binding player}" ></Label>
<ComboBox IsTabStop="True" Grid.Column="1" Text="{Binding character}" ItemsSource="{Binding DataContext.CharList, RelativeSource={RelativeSource AncestorType=UserControl}}"></ComboBox>
</Grid>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>