ErrorAppletWindow.axaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. Width="450"
  10. Height="340"
  11. CanResize="False"
  12. SizeToContent="Height"
  13. mc:Ignorable="d"
  14. Focusable="True">
  15. <Grid
  16. Margin="20"
  17. HorizontalAlignment="Stretch"
  18. VerticalAlignment="Stretch">
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="Auto" />
  21. <RowDefinition Height="*" />
  22. <RowDefinition Height="Auto" />
  23. </Grid.RowDefinitions>
  24. <Grid.ColumnDefinitions>
  25. <ColumnDefinition Width="Auto" />
  26. <ColumnDefinition />
  27. </Grid.ColumnDefinitions>
  28. <Image
  29. Grid.Row="1"
  30. Grid.RowSpan="2"
  31. Grid.Column="0"
  32. Height="80"
  33. MinWidth="50"
  34. Margin="5,10,20,10"
  35. Source="resm:Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.Ui.Common" />
  36. <TextBlock
  37. Grid.Row="1"
  38. Grid.Column="1"
  39. Margin="10"
  40. VerticalAlignment="Stretch"
  41. Text="{Binding Message}"
  42. TextWrapping="Wrap" />
  43. <StackPanel
  44. Name="ButtonStack"
  45. Grid.Row="2"
  46. Grid.Column="1"
  47. Margin="10"
  48. HorizontalAlignment="Right"
  49. Orientation="Horizontal"
  50. Spacing="10" />
  51. </Grid>
  52. </Window>