From 7486eebd67ec6ad0477b3e53140244cfa374c8df Mon Sep 17 00:00:00 2001 From: Michi Date: Sun, 29 Nov 2026 18:20:04 +0100 Subject: [PATCH] Category editor redesign, English as default language - Category editor: icon tile per category opens an icon + color picker (no clipped mini combo boxes), placeholders explained, live preview - Header glyph removed; dialog follows the shared styles - Dialogs opened from Settings are owned by the active window (category editor could open behind the settings window) - Default language is English; German via Settings > Language Co-Authored-By: Claude Opus 5.5 --- CategoryWindow.xaml | 240 +++++++++++++++++++------------- CategoryWindow.xaml.cs | 27 ++++ Core/SystemPrefs.cs | 6 +- Locales/de.json | 13 +- Locales/en.json | 13 +- Services/LocalizationService.cs | 5 +- Tests/FeatureTests.cs | 8 +- ViewModels/MainViewModel.cs | 12 +- 8 files changed, 203 insertions(+), 121 deletions(-) diff --git a/CategoryWindow.xaml b/CategoryWindow.xaml index ca16a02..49543d3 100644 --- a/CategoryWindow.xaml +++ b/CategoryWindow.xaml @@ -2,55 +2,66 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="{Binding [Categories]}" - Width="780" SizeToContent="Height" MaxHeight="720" - WindowStartupLocation="CenterOwner" - ResizeMode="NoResize" - ShowInTaskbar="False" - WindowStyle="None" - AllowsTransparency="True" - Background="Transparent" - MouseLeftButtonDown="Window_MouseLeftButtonDown"> + Width="760" SizeToContent="Height" MaxHeight="760" + WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False" + WindowStyle="None" AllowsTransparency="True" Background="Transparent" + FontFamily="{StaticResource UiFont}" FontSize="13" Foreground="{DynamicResource TextPrimaryBrush}" + UseLayoutRounding="True" + MouseLeftButtonDown="Window_MouseLeftButtonDown" KeyDown="Window_KeyDown"> - - - - - - - - - - + + + + + - + - + @@ -71,95 +82,136 @@ - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - + + - - + - - - -