Add sorting the admin player panel by clicking the headers (#7150)

This commit is contained in:
Javier Guardia Fernández
2022-03-16 22:58:15 +01:00
committed by GitHub
parent d744729b29
commit 995c02169e
6 changed files with 209 additions and 24 deletions

View File

@@ -1,4 +1,6 @@
<Control xmlns="https://spacestation14.io">
<Control xmlns="https://spacestation14.io"
xmlns:pt="clr-namespace:Content.Client.Administration.UI.Tabs.PlayerTab"
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Name="PlayerCount" HorizontalExpand="True" SizeFlagsStretchRatio="0.50"
@@ -10,7 +12,10 @@
</BoxContainer>
<Control MinSize="0 5" />
<ScrollContainer HorizontalExpand="True" VerticalExpand="True">
<BoxContainer Orientation="Vertical" Name="PlayerList" />
<BoxContainer Orientation="Vertical" Name="PlayerList">
<pt:PlayerTabHeader Name="ListHeader" />
<cc:HSeparator />
</BoxContainer>
</ScrollContainer>
</BoxContainer>
</Control>