mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-27 19:17:19 -05:00
Applied uniform styling standards to every subform dialog: - Window: FontFamily + FontSize=11 on all 107 views - Buttons: MinWidth=75, Padding=8,4 (replacing inconsistent widths) - Controls: Height=25 on all NumericUpDown/ComboBox/TextBox - Monospace: Consolas,Menlo,Courier New,monospace at FontSize=11 - Labels: FontWeight=SemiBold, FontSize=11 - Content margins: Margin=8 on root panels - Button bars: HorizontalAlignment=Right, Spacing=8 - Section headers: normalized from mixed 14/16px to 11-13px - Fixed code-behind in BoxViewerView and SettingsEditorView
62 lines
3.2 KiB
XML
62 lines
3.2 KiB
XML
<views:SubformWindow xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:views="using:PKHeX.Avalonia.Views"
|
|
xmlns:vm="using:PKHeX.Avalonia.ViewModels.Subforms"
|
|
x:Class="PKHeX.Avalonia.Views.Subforms.EntitySearchSetupView"
|
|
x:DataType="vm:EntitySearchSetupViewModel"
|
|
Title="Search Setup"
|
|
Width="450" Height="400"
|
|
MinWidth="350" MinHeight="300"
|
|
FontFamily="Microsoft Sans Serif,Geneva,Helvetica,Arial,sans-serif"
|
|
FontSize="11"
|
|
WindowStartupLocation="CenterOwner"
|
|
CanResize="True">
|
|
|
|
<DockPanel Margin="8">
|
|
<!-- Bottom buttons -->
|
|
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal"
|
|
HorizontalAlignment="Right" Spacing="8" Margin="0,8,0,0">
|
|
<TextBlock Text="{Binding StatusText}" VerticalAlignment="Center" FontSize="11" />
|
|
<Button Content="Search" Command="{Binding SearchCommand}" MinWidth="75" Padding="8,4" />
|
|
<Button Content="Reset" Command="{Binding ResetCommand}" MinWidth="75" Padding="8,4" />
|
|
<Button Content="Close" Click="OnCloseClick" MinWidth="75" Padding="8,4" />
|
|
</StackPanel>
|
|
|
|
<!-- Filter fields -->
|
|
<StackPanel Spacing="10">
|
|
<StackPanel Orientation="Horizontal" Spacing="8">
|
|
<TextBlock Text="Species:" VerticalAlignment="Center" Width="80"
|
|
FontWeight="SemiBold" FontSize="11" />
|
|
<ComboBox ItemsSource="{Binding SpeciesList}"
|
|
SelectedIndex="{Binding SelectedSpecies}"
|
|
MinWidth="200" Height="25" MaxDropDownHeight="300" />
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal" Spacing="8">
|
|
<TextBlock Text="Move:" VerticalAlignment="Center" Width="80"
|
|
FontWeight="SemiBold" FontSize="11" />
|
|
<ComboBox ItemsSource="{Binding MoveList}"
|
|
SelectedIndex="{Binding SelectedMove}"
|
|
MinWidth="200" Height="25" MaxDropDownHeight="300" />
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal" Spacing="8">
|
|
<TextBlock Text="Ability:" VerticalAlignment="Center" Width="80"
|
|
FontWeight="SemiBold" FontSize="11" />
|
|
<ComboBox ItemsSource="{Binding AbilityList}"
|
|
SelectedIndex="{Binding SelectedAbility}"
|
|
MinWidth="200" Height="25" MaxDropDownHeight="300" />
|
|
</StackPanel>
|
|
|
|
<!-- Advanced instructions -->
|
|
<TextBlock Text="Advanced Filter Instructions:" Margin="0,8,0,0"
|
|
FontWeight="SemiBold" FontSize="11" />
|
|
<TextBox Text="{Binding InstructionText}"
|
|
AcceptsReturn="True"
|
|
Height="100"
|
|
Watermark="Enter batch instructions (one per line)" />
|
|
</StackPanel>
|
|
</DockPanel>
|
|
|
|
</views:SubformWindow>
|