diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-12-25 07:36:47 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-12-25 07:36:47 +0100 |
| commit | 887a4dc38da11fbe3f90666084ad59a2321e3202 (patch) | |
| tree | 60a7884231eb21d886c52225e83f30ab0a03f485 /ui | |
| parent | b31d80d50c53a1c612dcc6405509b1c999b5f592 (diff) | |
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/winLoad.crow | 7 | ||||
| -rw-r--r-- | ui/winMessage.crow | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/ui/winLoad.crow b/ui/winLoad.crow index b3e4ebf..e4512c7 100644 --- a/ui/winLoad.crow +++ b/ui/winLoad.crow @@ -1,6 +1,6 @@ <?xml version="1.0"?> <Window Caption="Saved Games" Width="80%" Height="80%" Icon="#icons.load.svg" > - <VerticalStack> + <VerticalStack Margin="5"> <ListBox Data="{SavedGames}" SelectedItem="{²SelectedSavedGame}"> <Template> <Wrapper Name="ItemsContainer"/> @@ -13,7 +13,10 @@ </ListItem> </ItemTemplate> </ListBox> - <Button Command="{CMDLoadSelectedFile}"/> + <HorizontalStack Spacing="0" Width="50%" HorizontalAlignment="Right" Background="Jet"> + <Button Command="{CMDLoadSelectedFile}" Width="50%"/> + <Button Command="{CMDDeleteSelectedFile}" Width="50%"/> + </HorizontalStack> </VerticalStack> </Window> diff --git a/ui/winMessage.crow b/ui/winMessage.crow new file mode 100644 index 0000000..a72a007 --- /dev/null +++ b/ui/winMessage.crow @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<Container Fit="true"> + <Border CornerRadius="15" Background="${WindowBackground}"> + <Label Text="{}" Margin="40" + Foreground="White" + Font="serif bold, 28" + Width="Stretched" + TextAlignment="Center"/> + </Border> +</Container> + |