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

35 lines
1.2 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:m="clr-namespace:Mesen"
xmlns:vm="using:Mesen.ViewModels"
xmlns:dc="using:Mesen.Debugger.Controls"
xmlns:v="using:Mesen.Views"
xmlns:l="using:Mesen.Localization"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="400"
x:Class="Mesen.Windows.LogWindow"
Width="400" Height="400"
Icon="/Assets/LogWindow.png"
Title="{l:Translate wndTitle}"
Name="root"
>
<DockPanel>
<StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Right" Margin="2">
<Button MinWidth="70" HorizontalContentAlignment="Center" IsCancel="True" Click="Ok_OnClick" Content="{l:Translate btnClose}" />
</StackPanel>
<Border BorderThickness="1" BorderBrush="Gray">
<dc:MesenTextEditor
Name="txtLog"
Height="NaN"
IsReadOnly="True"
Padding="3"
FontFamily="{DynamicResource MesenFont}"
FontSize="{DynamicResource MesenFontSize}"
TextBinding="{Binding LogContent, ElementName=root}"
/>
</Border>
</DockPanel>
</Window>