Commit Graph

3 Commits

Author SHA1 Message Date
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
montanon
8375c79801 Fix subform styling consistency + Items button error handling
Global styles (App.axaml):
- Button: MinHeight=24, Padding=8,4, FontSize=11, centered
- SubformWindow Button: MinWidth=75 (dialogs only)
- Window: FontFamily + FontSize=11 for all dialogs
- TextBox.monospace, TextBlock.section-header, TextBlock.field-label

Subform fixes:
- SettingsEditorView: font sizing on dynamic controls
- InventoryView: standardize button widths
- DatabaseView: fix pagination buttons, status font
- EventFlagsView: standardize control fonts
- SimpleTrainerView: use style classes for labels
- BatchEditorView: fix inconsistent font sizes

Items button fix:
- OpenToolAsync now shows errors in status bar (was Debug.WriteLine)
- Items factory wrapped in try-catch with user-friendly error message
2026-03-18 15:32:36 -03:00
montanon
5e8ff7dfaa Add Avalonia subform dialogs for save/PKM editing
15 subform dialogs ported from WinForms to Avalonia MVVM:

Save editors:
- SAV_Inventory: bag editor with DataGrid per item pouch
- SAV_Database: PKM browser with sprite grid and search
- SAV_Encounters: encounter generator with species filter
- SAV_EventFlags: Gen 3-7 event flag/work editor
- SAV_EventFlags2: Gen 2/8 event flag editor
- SAV_Wondercard: mystery gift slot grid manager
- SAV_BoxLayout: box name and wallpaper editor
- SAV_BoxViewer: secondary box window (non-modal)
- SAV_MysteryGiftDB: mystery gift database browser
- ReportGrid: entity property DataGrid with CSV export
- SettingsEditor: runtime settings with reflection-based UI

PKM editors:
- BatchEditor: mass PKM editing with instruction language
- RibbonEditor: ribbon/mark checkbox editor
- MemoryAmie: memory, affection, friendship editor
- TechRecordEditor: TR/TM flag checkboxes

Utility:
- QRDialog: QR code generation and export
2026-03-18 15:32:35 -03:00