blob: e4512c76e05000be26db18d97c61666c6a8907f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?xml version="1.0"?>
<Window Caption="Saved Games" Width="80%" Height="80%" Icon="#icons.load.svg" >
<VerticalStack Margin="5">
<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>
<HorizontalStack Spacing="0" Width="50%" HorizontalAlignment="Right" Background="Jet">
<Button Command="{CMDLoadSelectedFile}" Width="50%"/>
<Button Command="{CMDDeleteSelectedFile}" Width="50%"/>
</HorizontalStack>
</VerticalStack>
</Window>
|