From d9d7622f7b9b4bea95d5dd2b505149231620a2e8 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Tue, 25 Jul 2023 22:40:31 +0100 Subject: [PATCH] Add icons to context menu, fix alignment --- .../Elements/ContextMenu/MenuContainer.xaml | 39 +++++++++++++++++-- .../ContextMenu/MenuContainer.xaml.cs | 2 +- wpfui | 2 +- 3 files changed, 38 insertions(+), 5 deletions(-) diff --git a/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml b/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml index 0fbafc0..d2ad043 100644 --- a/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml +++ b/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml @@ -21,11 +21,44 @@ Closed="Window_Closed"> - + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs b/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs index 3f9eea9..c07d37f 100644 --- a/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs +++ b/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs @@ -49,7 +49,7 @@ namespace Bloxstrap.UI.Elements.ContextMenu if (_richPresenceHandler is not null) RichPresenceMenuItem.Visibility = Visibility.Visible; - VersionMenuItem.Header = $"{App.ProjectName} v{App.Version}"; + VersionTextBlock.Text = $"{App.ProjectName} v{App.Version}"; } public void ShowServerInformationWindow() diff --git a/wpfui b/wpfui index 5f0a87d..55d5ca0 160000 --- a/wpfui +++ b/wpfui @@ -1 +1 @@ -Subproject commit 5f0a87d7d8bc19335ad1c15a93e1c17efc3c2f6e +Subproject commit 55d5ca08f9a1d7623f9a7e386e1f4ac9f2d024a7