Files
RobustToolbox/Robust.Client/UserInterface/CustomControls/TileSpawnWindow.xaml
T
MilenVolfandGitHub ba7d1452c1 Add Erase button for TileSpawnWindow (#5488)
* Add Erase button for TileSpawnWindow

Small QoL for mappers. Basically, it just selects space tile on "Erase" button toggled.

* Remove copy paste. Conevrt this into method
2024-10-13 15:55:57 +02:00

17 lines
726 B
XML

<TileSpawnWindow
xmlns="https://spacestation14.io"
Title="{Loc tile-spawn-window-title}"
SetSize="300 300"
MinSize="300 200">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<LineEdit Name="SearchBar" Access="Public" HorizontalExpand="True" PlaceHolder="Search"/>
<Button Name="ClearButton" Access="Public" Text="Clear"/>
</BoxContainer>
<ItemList Name="TileList" Access="Public" VerticalExpand="True"/>
<BoxContainer Orientation="Horizontal">
<Button Name="EraseButton" Access="Public" ToggleMode="True" Text="{Loc window-erase-button-text}"/>
</BoxContainer>
</BoxContainer>
</TileSpawnWindow>