Mesen2/UI/Windows/GetKeyWindow.axaml
Sour d208fdc6a7 UI: Support for NativeAOT
Added Windows & Linux builds using AOT compilation
2024-06-05 20:23:31 +09:00

40 lines
1.1 KiB
XML

<Window
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"
xmlns:vm="using:Mesen.ViewModels"
xmlns:v="using:Mesen.Views"
xmlns:l="using:Mesen.Localization"
xmlns:c="using:Mesen.Controls"
xmlns:cfg="using:Mesen.Config"
mc:Ignorable="d"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
x:Class="Mesen.Windows.GetKeyWindow"
Name="root"
Width="350"
Height="100"
Title="{l:Translate Title}"
>
<Border BorderBrush="{StaticResource MesenGrayBorderColor}" BorderThickness="1" Margin="3">
<StackPanel VerticalAlignment="Center">
<Panel VerticalAlignment="Center" Height="40">
<TextBlock
Text="{Binding HintLabel, ElementName=root}"
TextWrapping="Wrap"
HorizontalAlignment="Center"
VerticalAlignment="Center"
/>
</Panel>
<TextBlock
Grid.Row="1"
Height="0"
Name="lblCurrentKey"
TextWrapping="Wrap"
HorizontalAlignment="Center"
VerticalAlignment="Center"
/>
</StackPanel>
</Border>
</Window>