From ec4635a37f2b72ea53cfd7ac2717bdc5c83ec9ce Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Sat, 21 Feb 2026 16:04:58 +0100 Subject: [PATCH] Add Material icons to UI and refactor theme resources Integrated MahApps.Metro.IconPacks for Material icons in tab headers and buttons, enhancing visual clarity and user experience. Refactored resource dictionary to define theme brushes at the top level for easier theme switching. All button content now combines icons and text for a more modern interface. No functional changes; UI/UX improvements only. --- imagecatalog/ImageCatalog 2.csproj | 1 + imagecatalog/MainWindow.xaml | 187 +++++++++++++++++++++++------ 2 files changed, 152 insertions(+), 36 deletions(-) diff --git a/imagecatalog/ImageCatalog 2.csproj b/imagecatalog/ImageCatalog 2.csproj index b6b77b9..e4573cc 100644 --- a/imagecatalog/ImageCatalog 2.csproj +++ b/imagecatalog/ImageCatalog 2.csproj @@ -45,6 +45,7 @@ + all diff --git a/imagecatalog/MainWindow.xaml b/imagecatalog/MainWindow.xaml index 7e23dae..d8fec54 100644 --- a/imagecatalog/MainWindow.xaml +++ b/imagecatalog/MainWindow.xaml @@ -3,31 +3,40 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" mc:Ignorable="d" Title="Image Catalog - WPF" Height="490" Width="800" Background="{DynamicResource WindowBackgroundBrush}" Foreground="{DynamicResource ControlForegroundBrush}"> - + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + @@ -46,7 +55,13 @@ - + + + + + + + @@ -61,8 +76,18 @@ - + @@ -75,8 +100,18 @@ - + @@ -122,7 +157,13 @@ - + + + + + + + @@ -142,7 +183,12 @@ @@ -162,7 +208,13 @@ - + + + + + + + @@ -190,7 +242,13 @@ - + + + + + + + @@ -219,12 +277,23 @@ - + + + + + + + - @@ -250,7 +319,13 @@ - + + + + + + + @@ -266,8 +341,18 @@ - + @@ -280,8 +365,18 @@ - + @@ -301,10 +396,30 @@ - + + +