PKHeX/PKHeX.Avalonia/Views/Subforms/SettingsEditorView.axaml
montanon ed07a6e3e3 Standardize all 107 subform views for consistent styling
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
2026-03-18 15:32:36 -03:00

28 lines
1.3 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.SettingsEditorView"
x:DataType="vm:SettingsEditorViewModel"
Title="Settings"
Width="550" Height="500"
MinWidth="400" MinHeight="350"
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">
<Button Content="OK" Click="OnOkClick" MinWidth="75" Padding="8,4" />
<Button Content="Cancel" Click="OnCancelClick" MinWidth="75" Padding="8,4" />
</StackPanel>
<!-- Settings tabs populated in code-behind -->
<TabControl x:Name="SettingsTabs" Padding="4" />
</DockPanel>
</views:SubformWindow>