2022-06-23 20:59:02 +02:00
|
|
|
<UserControl
|
|
|
|
x:Class="Ryujinx.Ava.Ui.Controls.InputDialog"
|
|
|
|
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"
|
2022-12-05 23:04:18 +01:00
|
|
|
mc:Ignorable="d"
|
|
|
|
Focusable="True">
|
2022-06-23 20:59:02 +02:00
|
|
|
<Grid
|
|
|
|
Margin="5,10,5,5"
|
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
VerticalAlignment="Center">
|
2022-05-15 13:30:15 +02:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock HorizontalAlignment="Center" Text="{Binding Message}" />
|
2022-06-23 20:59:02 +02:00
|
|
|
<TextBox
|
|
|
|
Grid.Row="1"
|
|
|
|
Width="300"
|
|
|
|
Margin="10"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
MaxLength="{Binding MaxLength}"
|
|
|
|
Text="{Binding Input, Mode=TwoWay}" />
|
|
|
|
<TextBlock
|
|
|
|
Grid.Row="2"
|
|
|
|
Margin="5,5,5,10"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
Text="{Binding SubMessage}" />
|
2022-05-15 13:30:15 +02:00
|
|
|
</Grid>
|
|
|
|
</UserControl>
|