blob: b3e4ebf947c8b111fe0383e0b541bf8c705a7f2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?xml version="1.0"?>
<Window Caption="Saved Games" Width="80%" Height="80%" Icon="#icons.load.svg" >
<VerticalStack>
<ListBox Data="{SavedGames}" SelectedItem="{²SelectedSavedGame}">
<Template>
<Wrapper Name="ItemsContainer"/>
</Template>
<ItemTemplate>
<ListItem Fit="True" Margin="0" Focusable="true"
Selected = "{Background=${ControlHighlight}}"
Unselected = "{Background=Transparent}">
<BoardWidget Margin="0" FilePath="{}" Font="droid, 10" Width="200" Height="200" />
</ListItem>
</ItemTemplate>
</ListBox>
<Button Command="{CMDLoadSelectedFile}"/>
</VerticalStack>
</Window>
|