Clean up the escape menu XAML a bit.
This commit is contained in:
@@ -14,6 +14,10 @@ namespace Content.Client.Changelog
|
|||||||
IoCManager.InjectDependencies(this);
|
IoCManager.InjectDependencies(this);
|
||||||
|
|
||||||
OnPressed += OnOnPressed;
|
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()
|
protected override void EnteredTree()
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
Title="{Loc 'ui-escape-title'}"
|
Title="{Loc 'ui-escape-title'}"
|
||||||
Resizable="False">
|
Resizable="False">
|
||||||
|
|
||||||
<BoxContainer Orientation="Vertical" SeparationOverride="4" CustomMinimumSize="150 160">
|
<BoxContainer Orientation="Vertical" SeparationOverride="4" MinWidth="150">
|
||||||
<changelog:ChangelogButton />
|
<changelog:ChangelogButton />
|
||||||
<ui:VoteCallMenuButton />
|
<ui:VoteCallMenuButton />
|
||||||
<Button Name="OptionsButton" Text="{Loc 'ui-escape-options'}" />
|
<Button Name="OptionsButton" Text="{Loc 'ui-escape-options'}" />
|
||||||
|
|||||||
Reference in New Issue
Block a user