Files
wwdpublic/Content.Client/_Shitmed/Autodoc/AutodocProgramWindow.xaml
DEATHB4DEFEAT 32f538d2ba Fix Buttons Being Yellow Instead of Red (#2129)
# Description

I changed something so long ago but didn't make sure others were changed
to follow.

---

<details><summary><h1>Media</h1></summary>
<p>

![image](https://github.com/user-attachments/assets/9328cf6f-907f-4051-a972-5ae6579e6b01)

![image](https://github.com/user-attachments/assets/fa9e3e7d-3d0a-4193-b51f-20449c068751)

![image](https://github.com/user-attachments/assets/301debf9-0623-4a69-8334-0205ac8ae2a0)

![image](https://github.com/user-attachments/assets/afcc12a4-8068-4091-aa3f-427559b7d1ac)

![image](https://github.com/user-attachments/assets/77c62f0c-8356-4772-ab01-8af543b0f050)

</p>
</details>

---

# Changelog

🆑
- fix: Fixed many buttons being yellow instead of red

---------

Signed-off-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com>
Co-authored-by: Timfa <timfalken@hotmail.com>
(cherry picked from commit ca703ab8d367bbdfc4ab115af4a01964ff597e5f)
2025-04-04 14:31:36 +03:00

19 lines
1.1 KiB
XML

<controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls" Title="{Loc 'autodoc-view-program-title'}" SetSize="600 500">
<BoxContainer Orientation="Horizontal">
<BoxContainer Orientation="Vertical" Margin="5 5 5 5">
<Label Name="ProgramTitle"/>
<!-- Set to Program.Title -->
<Button Name="SafetyButton" Text="{Loc 'autodoc-safety-enabled'}"/>
<Button Name="RemoveButton" StyleClasses="Danger" Text="{Loc 'autodoc-remove-program'}"/>
<Button Name="AddStepButton" Text="{Loc 'autodoc-add-step'}"/>
<Button Name="RemoveStepButton" StyleClasses="Danger" Text="{Loc 'autodoc-remove-step'}" Disabled="True"/>
<Button Name="StartButton" StyleClasses="Danger" Text="{Loc 'autodoc-start-program'}"/>
</BoxContainer>
<ScrollContainer HorizontalExpand="True" VerticalExpand="True">
<ItemList Name="Steps"/>
<!-- Set to Program.Steps -->
</ScrollContainer>
</BoxContainer>
</controls:FancyWindow>