From da5a1efea1de7ab9d588c4b0fe996eeefb061d48 Mon Sep 17 00:00:00 2001 From: maj00r Date: Wed, 11 Nov 2026 17:53:01 +0100 Subject: [PATCH] fix: the version in the window's title, where it has room at any width --- StarterNG/MainWindow.axaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/StarterNG/MainWindow.axaml.cs b/StarterNG/MainWindow.axaml.cs index 1956dd0..2a203ad 100644 --- a/StarterNG/MainWindow.axaml.cs +++ b/StarterNG/MainWindow.axaml.cs @@ -46,6 +46,9 @@ public partial class MainWindow : Window { Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); InitializeComponent(); + // The top bar lets the version go first when it runs short of room, which at the usual widths it does; + // the title has room for it at any width. + Title = $"{Title} {AppInfo.Version}"; ExtendClientAreaToDecorationsHint = true; ExtendClientAreaTitleBarHeightHint = TitleBarHeight;