mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-12 09:04:09 +01:00
fix: the version in the window's title, where it has room at any width
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user