Files
RobustToolbox/Robust.Client/UserInterface/CustomControls/EntitySpawnWindow.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

25 lines
1.4 KiB
XML

<EntitySpawnWindow
xmlns="https://spacestation14.io"
Title="{Loc entity-spawn-window-title}"
SetSize="350 400"
MinSize="350 200">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<LineEdit Name="SearchBar" Access="Public" HorizontalExpand="True" PlaceHolder="{Loc entity-spawn-window-search-bar-placeholder}"/>
<Button Name="ClearButton" Access="Public" Disabled="True" Text="{Loc entity-spawn-window-clear-button}" />
</BoxContainer>
<ScrollContainer Name="PrototypeScrollContainer" Access="Public" MinSize="200 0" VerticalExpand="True">
<PrototypeListContainer Name="PrototypeList" Access="Public"/>
</ScrollContainer>
<BoxContainer Orientation="Horizontal">
<Button Name="ReplaceButton" Access="Public" ToggleMode="True" Text="{Loc entity-spawn-window-replace-button-text}"/>
<Button Name="EraseButton" Access="Public" ToggleMode="True" Text="{Loc window-erase-button-text}"/>
<OptionButton Name="OverrideMenu" Access="Public" HorizontalExpand="True" ToolTip="{Loc entity-spawn-window-override-menu-tooltip}" />
</BoxContainer>
<Label Name="RotationLabel" Access="Public"/>
<DoNotMeasure Visible="False">
<EntitySpawnButton Name="MeasureButton" Access="Public" />
</DoNotMeasure>
</BoxContainer>
</EntitySpawnWindow>