mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* Use FancyWindow, margin of 10 for most gas devices * Use FancyWindow, margin of 10 for gas analyzer, gas canister UI * Adjust gas UI min sizes, resizeability, keyboard handling --------- Co-authored-by: beck-thompson <beck314159@hotmail.com>
20 lines
1.2 KiB
XML
20 lines
1.2 KiB
XML
<controls:FancyWindow xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
MinSize="50 50" Resizable="False" Title="Pressure Pump">
|
|
<BoxContainer Orientation="Vertical" Margin="10" SeparationOverride="10">
|
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
|
<controls:SwitchButton
|
|
Name="ToggleStatusButton"
|
|
HorizontalAlignment="Left"
|
|
Pressed="True" />
|
|
<Control HorizontalExpand="True"/>
|
|
<Button HorizontalAlignment="Right" Name="SetOutputPressureButton" Text="{Loc comp-gas-pump-ui-pump-set-rate}" Disabled="True" Margin="0 0 5 0"/>
|
|
<Button Name="SetMaxPressureButton" Text="{Loc comp-gas-pump-ui-pump-set-max}" />
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
|
<Label Text="{Loc comp-gas-pump-ui-pump-output-pressure}"/>
|
|
<FloatSpinBox HorizontalExpand="True" Name="PumpPressureOutputInput" MinSize="155 0" />
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</controls:FancyWindow>
|