ErrorAppletWindow.axaml
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"> 21 <Grid.RowDefinitions> 22 <RowDefinition Height="Auto" /> 23 <RowDefinition Height="*" /> 24 <RowDefinition Height="Auto" /> 25 </Grid.RowDefinitions> 26 <Grid.ColumnDefinitions> 27 <ColumnDefinition Width="Auto" /> 28 <ColumnDefinition /> 29 </Grid.ColumnDefinitions> 30 <Image 31 Grid.Row="1" 32 Grid.RowSpan="2" 33 Grid.Column="0" 34 Height="80" 35 MinWidth="50" 36 Margin="5,10,20,10" 37 Source="resm:Ryujinx.UI.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.UI.Common" /> 38 <TextBlock 39 Grid.Row="1" 40 Grid.Column="1" 41 Margin="10" 42 VerticalAlignment="Stretch" 43 Text="{Binding Message}" 44 TextWrapping="Wrap" /> 45 <StackPanel 46 Name="ButtonStack" 47 Grid.Row="2" 48 Grid.Column="1" 49 Margin="10" 50 HorizontalAlignment="Right" 51 Orientation="Horizontal" 52 Spacing="10" /> 53 </Grid> 54 </Window>