- Layout Verschiebung behoben bei Configeditor
- Config zuordnung überarbeitet -> keine vorhanden zeigt im editor dann hinweis an: Keine Config gefunden. Server bereits neu gestartet ? - Config Speichern behoben - Ladeanimationen hinzugefügt - Mod löschen funktion eingefügt -> Popup zur bestätigung ob gelöscht werden soll
This commit is contained in:
31
Valheim Dashboard/Views/ConfirmDialog.axaml
Normal file
31
Valheim Dashboard/Views/ConfirmDialog.axaml
Normal file
@@ -0,0 +1,31 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Class="Valheim_Dashboard.Views.ConfirmDialog"
|
||||
Width="400" Height="200"
|
||||
CanResize="False"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
Background="{DynamicResource Cfg.BgBrush}">
|
||||
|
||||
<StackPanel Margin="20" Spacing="20" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<TextBlock x:Name="MessageText"
|
||||
FontSize="20"
|
||||
Foreground="{DynamicResource Cfg.FgBrush}"
|
||||
TextWrapping="Wrap"
|
||||
TextAlignment="Center"/>
|
||||
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Spacing="20">
|
||||
<Button x:Name="YesButton"
|
||||
Content="Ja"
|
||||
Width="100"
|
||||
Height="40"
|
||||
Background="Green"
|
||||
Foreground="White"/>
|
||||
<Button x:Name="NoButton"
|
||||
Content="Nein"
|
||||
Width="100"
|
||||
Height="40"
|
||||
Background="Red"
|
||||
Foreground="White"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user