ErrorAppletWindow.axaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <Window
  2. x:Class="Ryujinx.Ava.UI.Applet.ErrorAppletWindow"
  3. xmlns="https://github.com/avaloniaui"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:locale="clr-namespace:Ryujinx.Ava.Common.Locale"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. Title="{locale:Locale ErrorWindowTitle}"
  9. xmlns:views="using:Ryujinx.Ava.UI.Applet"
  10. Width="450"
  11. Height="340"
  12. CanResize="False"
  13. x:DataType="views:ErrorAppletWindow"
  14. SizeToContent="Height"
  15. mc:Ignorable="d"
  16. Focusable="True">
  17. <Grid
  18. Margin="20"
  19. HorizontalAlignment="Stretch"
  20. VerticalAlignment="Stretch" RowDefinitions="Auto,*,Auto" ColumnDefinitions="Auto,*">
  21. <Image
  22. Grid.Row="1"
  23. Grid.RowSpan="2"
  24. Grid.Column="0"
  25. Height="80"
  26. MinWidth="50"
  27. Margin="5,10,20,10"
  28. Source="resm:Ryujinx.UI.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.UI.Common" />
  29. <TextBlock
  30. Grid.Row="1"
  31. Grid.Column="1"
  32. Margin="10"
  33. VerticalAlignment="Stretch"
  34. Text="{Binding Message}"
  35. TextWrapping="Wrap" />
  36. <StackPanel
  37. Name="ButtonStack"
  38. Grid.Row="2"
  39. Grid.Column="1"
  40. Margin="10"
  41. HorizontalAlignment="Right"
  42. Orientation="Horizontal"
  43. Spacing="10" />
  44. </Grid>
  45. </Window>