mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 15:47:26 +00:00
Merge pull request #1120 from oooielp/label-invert (#783) Co-authored-by: Khaomi <46065349+Khaomi@users.noreply.github.com> Co-authored-by: Superlagg <sprambersonson@gmail.com>
31 lines
1.7 KiB
XML
31 lines
1.7 KiB
XML
<DefaultWindow xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
|
Title="{Loc 'hand-labeler-ui-header'}"
|
|
SetWidth="400"
|
|
MinWidth="150"
|
|
SetHeight="400"> <!-- Starlight - include gfx and set default height to include saved labels section nicely -->
|
|
<BoxContainer Orientation="Vertical" SeparationOverride="4">
|
|
<Label Name="CurrentTextLabel" Text="{Loc 'hand-labeler-current-text-label'}" />
|
|
<LineEdit Name="LabelLineEdit" />
|
|
<BoxContainer Orientation="Horizontal" Align="Center">
|
|
<Button Name="ResetLabelButton" Text="{Loc 'hand-labeler-ui-reset-label-text'}" StyleClasses="OpenRight" />
|
|
<Button Name="ClearLabelButton" Text="{Loc 'hand-labeler-ui-clear-label-text'}" StyleClasses="OpenLeft" />
|
|
</BoxContainer>
|
|
<!-- Starlight Begin -->
|
|
<Label Text="{Loc 'hand-labeler-saved-labels'}" />
|
|
<PanelContainer VerticalExpand="True" SizeFlagsStretchRatio="1">
|
|
<PanelContainer.PanelOverride>
|
|
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
|
</PanelContainer.PanelOverride>
|
|
<ItemList Name="SavedLabelsList" VerticalExpand="True" SelectMode="Button" />
|
|
</PanelContainer>
|
|
|
|
<BoxContainer Orientation="Horizontal" Align="Center">
|
|
<Button Name="SaveLabelButton" Text="{Loc 'hand-labeler-save-label-text'}" StyleClasses="OpenRight" />
|
|
<Button Name="DeleteLabelButton" Text="{Loc 'hand-labeler-delete-label-text'}" StyleClasses="OpenLeft" />
|
|
</BoxContainer>
|
|
<!-- Starlight end -->
|
|
</BoxContainer>
|
|
</DefaultWindow>
|