|
31 | 31 |
|
32 | 32 | <!-- Revert / Save area --> |
33 | 33 | <Border Margin="4" DockPanel.Dock="Bottom"> |
34 | | - <DockPanel HorizontalAlignment="Stretch"> |
| 34 | + <Grid> |
| 35 | + <DockPanel HorizontalAlignment="Stretch"> |
35 | 36 |
|
36 | | - <Button DockPanel.Dock="Right" Width="96" Height="26" Margin="2,0,0,0" |
| 37 | + <Button DockPanel.Dock="Right" Width="96" Height="26" Margin="2,0,0,0" |
37 | 38 | Command="{x:Static loki:Commands.RevertCharacter}" |
38 | 39 | ToolTip="Re-loads the file, reverting any unsaved changes">Revert</Button> |
39 | 40 |
|
40 | | - <Button DockPanel.Dock="Right" Width="96" Height="26" Margin="2,0" |
| 41 | + <Button DockPanel.Dock="Right" Width="96" Height="26" Margin="2,0" |
41 | 42 | Command="{x:Static loki:Commands.SaveCharacter}" |
42 | 43 | ToolTip="Saves all changes to the character file">Save</Button> |
43 | | - |
44 | | - <CheckBox DockPanel.Dock="Right" VerticalAlignment="Center" Margin="4,0" |
| 44 | + |
| 45 | + <CheckBox DockPanel.Dock="Right" VerticalAlignment="Center" Margin="4,0" |
45 | 46 | ToolTip="If checked, will cause a backup to be automatically created upon saving" |
46 | 47 | IsChecked="{Binding CreateBackup}"> |
47 | | - Backup Character |
48 | | - </CheckBox> |
| 48 | + Backup Character |
| 49 | + </CheckBox> |
49 | 50 |
|
50 | | - <Button DockPanel.Dock="Right" Height="26" Margin="2,0" Padding="32,0" |
| 51 | + <Button DockPanel.Dock="Right" Height="26" Margin="2,0" Padding="32,0" |
51 | 52 | ToolTip="Select a backup to restore the character from" |
52 | 53 | Command="{x:Static loki:Commands.RestoreCharacter}">Backup Restore</Button> |
53 | 54 |
|
54 | | - <Label DockPanel.Dock="Left">Created by Wuffles</Label> |
55 | | - </DockPanel> |
| 55 | + <Label DockPanel.Dock="Left">Created by Wuffles</Label> |
| 56 | + </DockPanel> |
| 57 | + |
| 58 | + <!-- Save/Revert notification --> |
| 59 | + <Border Background="#000" HorizontalAlignment="Right" Padding="64,4" CornerRadius="2" |
| 60 | + Name="NotificationBorder" Visibility="Hidden"> |
| 61 | + <TextBlock Name="NotifyText" |
| 62 | + FontSize="16" FontWeight="DemiBold" |
| 63 | + Foreground="White" VerticalAlignment="Center" Text="Notification" /> |
| 64 | + </Border> |
| 65 | + </Grid> |
56 | 66 | </Border> |
57 | 67 |
|
58 | 68 | <!-- Main Tab area --> |
|
0 commit comments