Mesen2/UI/Debugger/Windows/FindAllOccurrencesWindow.axaml
Sour 0352c7d675 Debugger: Always show modal popups in the taskbar
It's possible to click minimize on them, which isn't very user friendly (appears as a tiny title bar at the bottom left in Windows, not sure about Linux/macOS)
2024-12-13 23:35:47 +09:00

42 lines
1.7 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.Debugger.ViewModels"
xmlns:sys="using:System"
xmlns:v="using:Mesen.Views"
xmlns:du="using:Mesen.Debugger.Utilities"
xmlns:c="using:Mesen.Controls"
xmlns:i="using:Mesen.Interop"
xmlns:l="using:Mesen.Localization"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dvm="using:Mesen.Debugger.ViewModels"
xmlns:dc="using:Mesen.Debugger.Controls"
mc:Ignorable="d"
x:Class="Mesen.Debugger.Windows.FindAllOccurrencesWindow"
Width="300" Height="100"
CanResize="False"
Name="root"
Title="{l:Translate wndTitle}"
>
<DockPanel Margin="3">
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right">
<Button MinWidth="70" HorizontalContentAlignment="Center" IsDefault="True" Click="Ok_OnClick" Content="{l:Translate btnFind}" />
<Button MinWidth="70" HorizontalContentAlignment="Center" IsCancel="True" Click="Cancel_OnClick" Content="{l:Translate btnCancel}" />
</StackPanel>
<StackPanel>
<DockPanel>
<TextBlock Text="{l:Translate lblSearch}" DockPanel.Dock="Left" VerticalAlignment="Center" Margin="0 0 5 0" />
<TextBox
Name="txtSearch"
HorizontalAlignment="Stretch"
Text="{Binding SearchString, ElementName=root, Converter={StaticResource NullTextConverter}}"
/>
</DockPanel>
<CheckBox IsChecked="{Binding MatchCase, ElementName=root}" Content="{l:Translate chkMatchCase}" />
<CheckBox IsChecked="{Binding MatchWholeWord, ElementName=root}" Content="{l:Translate chkMatchWholeWord}" />
</StackPanel>
</DockPanel>
</Window>