mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-13 20:03:19 +01:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c261d4b0ab | ||
|
|
3aa6a256a5 | ||
|
|
95c510b3ac | ||
|
|
da5a1efea1 |
@@ -13,6 +13,6 @@ public static class AppInfo
|
|||||||
#if DEBUG
|
#if DEBUG
|
||||||
text += " (DEBUG)";
|
text += " (DEBUG)";
|
||||||
#endif
|
#endif
|
||||||
return text + " public beta";
|
return text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,6 +46,9 @@ public partial class MainWindow : Window
|
|||||||
{
|
{
|
||||||
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
||||||
InitializeComponent();
|
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;
|
ExtendClientAreaToDecorationsHint = true;
|
||||||
ExtendClientAreaTitleBarHeightHint = TitleBarHeight;
|
ExtendClientAreaTitleBarHeightHint = TitleBarHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user