PKHeX/PKHeX.Avalonia/Views/Subforms/PokedexResearchTask8aPanelView.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

26 lines
1.8 KiB
XML

<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:PKHeX.Avalonia.ViewModels.Subforms"
x:Class="PKHeX.Avalonia.Views.Subforms.PokedexResearchTask8aPanelView"
x:DataType="vm:PokedexResearchTask8aPanelViewModel"
FontFamily="Microsoft Sans Serif,Geneva,Helvetica,Arial,sans-serif"
FontSize="11">
<Border BorderBrush="Gray" BorderThickness="1" CornerRadius="4" Padding="8" Margin="2">
<Grid ColumnDefinitions="*,Auto,Auto,Auto,Auto,Auto,Auto" RowDefinitions="Auto">
<StackPanel Grid.Column="0" Orientation="Horizontal" Spacing="4" VerticalAlignment="Center">
<TextBlock Text="{Binding TaskLabel}" FontWeight="SemiBold" FontSize="11" />
<TextBlock Text="[Bonus]" IsVisible="{Binding HasBonus}" Foreground="Green" />
</StackPanel>
<NumericUpDown Grid.Column="1" Value="{Binding CurrentValue}" Minimum="0" Maximum="9999"
Width="100" Height="25" IsEnabled="{Binding CanSetCurrentValue}" Margin="4,0" />
<TextBlock Grid.Column="2" Text="{Binding Threshold1}" Width="40" TextAlignment="Center" VerticalAlignment="Center" />
<TextBlock Grid.Column="3" Text="{Binding Threshold2}" Width="40" TextAlignment="Center" VerticalAlignment="Center" />
<TextBlock Grid.Column="4" Text="{Binding Threshold3}" Width="40" TextAlignment="Center" VerticalAlignment="Center" />
<TextBlock Grid.Column="5" Text="{Binding Threshold4}" Width="40" TextAlignment="Center" VerticalAlignment="Center" />
<TextBlock Grid.Column="6" Text="{Binding Threshold5}" Width="40" TextAlignment="Center" VerticalAlignment="Center" />
</Grid>
</Border>
</UserControl>