Compare commits

..

2 Commits

Author SHA1 Message Date
maj00r
da5a1efea1 fix: the version in the window's title, where it has room at any width 2026-11-11 17:53:01 +01:00
e7d8596652 Merge pull request #37 from MaSzyna-EU07/feature/hasler-tape
Feature/hasler tape
2026-11-07 14:18:27 +00:00

View File

@@ -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;