From ca50a5f9934a399826306659f298f0098251e4eb Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Tue, 7 Sep 2021 00:30:00 +0200 Subject: [PATCH] Clean up the escape menu XAML a bit. --- Content.Client/Changelog/ChangelogButton.cs | 4 ++++ Content.Client/EscapeMenu/UI/EscapeMenu.xaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Content.Client/Changelog/ChangelogButton.cs b/Content.Client/Changelog/ChangelogButton.cs index 9178708ef1..6b1116cca0 100644 --- a/Content.Client/Changelog/ChangelogButton.cs +++ b/Content.Client/Changelog/ChangelogButton.cs @@ -14,6 +14,10 @@ namespace Content.Client.Changelog IoCManager.InjectDependencies(this); OnPressed += OnOnPressed; + + // So that measuring before opening returns a correct height, + // and the window has the correct size when opened. + Text = " "; } protected override void EnteredTree() diff --git a/Content.Client/EscapeMenu/UI/EscapeMenu.xaml b/Content.Client/EscapeMenu/UI/EscapeMenu.xaml index baed55524a..6f4b07f0d1 100644 --- a/Content.Client/EscapeMenu/UI/EscapeMenu.xaml +++ b/Content.Client/EscapeMenu/UI/EscapeMenu.xaml @@ -4,7 +4,7 @@ Title="{Loc 'ui-escape-title'}" Resizable="False"> - +