Add Context Menu to Bwoink Window (#9374)
* Clean up EntityListDisplay * Rename EntityListDisplay to ListContainer * Rename stuff * Rework ListContainer * Add tests * Replace IControlData with record ListData * Make _data non-nullable * Fix test record items being duplicates * Split filter method from populate * Rename UpdateList to DirtyList * Replace _count with _data.Count * Clarify local variable toRemove * Cleanup * Add data selection to ListContainer * Add selection test * Fix comments and test name * Fix ListContainer layout hiding items when scaled * Add test for ListContainer top item * Toggle fix * Ensure buttons are re-generated * Update unread count on select * a * Fix toggle test Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
<BoxContainer xmlns="https://spacestation14.io"
|
||||
xmlns:controls="using:Content.Client.UserInterface.Controls"
|
||||
Orientation="Vertical">
|
||||
<Control MinSize="0 5" />
|
||||
<LineEdit Name="FilterLineEdit"
|
||||
MinSize="100 0"
|
||||
HorizontalExpand="True"
|
||||
PlaceHolder="{Loc Filter}"/>
|
||||
<ItemList Name="PlayerItemList"
|
||||
Access="Public"
|
||||
SelectMode="Single"
|
||||
VerticalExpand="True"
|
||||
HorizontalExpand="True"
|
||||
MinSize="100 100" />
|
||||
<PanelContainer Name="BackgroundPanel"
|
||||
VerticalExpand="True"
|
||||
HorizontalExpand="True">
|
||||
<controls:ListContainer Name="PlayerListContainer"
|
||||
Access="Public"
|
||||
Toggle="True"
|
||||
Group="True"
|
||||
MinSize="100 0"/>
|
||||
</PanelContainer>
|
||||
</BoxContainer>
|
||||
|
||||
Reference in New Issue
Block a user