2022-06-23 14:59:02 -04:00
|
|
|
<UserControl
|
2022-12-29 09:24:05 -05:00
|
|
|
x:Class="Ryujinx.Ava.UI.Controls.SwkbdAppletDialog"
|
2022-06-23 14:59:02 -04:00
|
|
|
xmlns="https://github.com/avaloniaui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
Width="400"
|
2022-12-05 17:04:18 -05:00
|
|
|
mc:Ignorable="d"
|
|
|
|
Focusable="True">
|
2022-06-23 14:59:02 -04:00
|
|
|
<Grid
|
|
|
|
Margin="20"
|
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
VerticalAlignment="Stretch">
|
2022-05-15 07:30:15 -04:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition />
|
|
|
|
</Grid.ColumnDefinitions>
|
2022-06-23 14:59:02 -04:00
|
|
|
<Image
|
|
|
|
Grid.Row="1"
|
|
|
|
Grid.RowSpan="5"
|
|
|
|
Height="80"
|
|
|
|
MinWidth="50"
|
|
|
|
Margin="5,10,20,10"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Source="resm:Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.Ui.Common" />
|
|
|
|
<TextBlock
|
|
|
|
Grid.Row="1"
|
|
|
|
Grid.Column="1"
|
|
|
|
Margin="5"
|
|
|
|
Text="{Binding MainText}"
|
|
|
|
TextWrapping="Wrap" />
|
|
|
|
<TextBlock
|
|
|
|
Grid.Row="2"
|
|
|
|
Grid.Column="1"
|
|
|
|
Margin="5"
|
|
|
|
Text="{Binding SecondaryText}"
|
|
|
|
TextWrapping="Wrap" />
|
|
|
|
<TextBox
|
|
|
|
Name="Input"
|
2022-12-19 13:09:36 -05:00
|
|
|
Grid.Row="3"
|
2022-06-23 14:59:02 -04:00
|
|
|
Grid.Column="1"
|
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
VerticalAlignment="Center"
|
2023-04-16 03:09:02 -04:00
|
|
|
Focusable="True"
|
2022-06-23 14:59:02 -04:00
|
|
|
KeyUp="Message_KeyUp"
|
|
|
|
Text="{Binding Message}"
|
|
|
|
TextInput="Message_TextInput"
|
|
|
|
TextWrapping="Wrap"
|
|
|
|
UseFloatingWatermark="True" />
|
|
|
|
<TextBlock
|
|
|
|
Name="Error"
|
|
|
|
Grid.Row="4"
|
|
|
|
Grid.Column="1"
|
|
|
|
Margin="5"
|
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
TextWrapping="Wrap" />
|
2022-05-15 07:30:15 -04:00
|
|
|
</Grid>
|
2023-04-16 03:09:02 -04:00
|
|
|
</UserControl>
|