Ghost UI to XAML and minor cleanup (#4637)

* Remove unused class, clean up XAML

* Move GhostGui.cs into UI folder and namespace

* GhostTargetWindow to seperate file

* GhostTargetWindow to XAML

* Center request button

* Improve UI, localisation
This commit is contained in:
Visne
2021-09-21 05:03:14 +02:00
committed by GitHub
parent 9f534b685e
commit 610ff0083f
11 changed files with 207 additions and 198 deletions

View File

@@ -0,0 +1,14 @@
<SS14Window xmlns="https://spacestation14.io"
Title="{Loc 'ghost-target-window-title'}"
MinSize="300 450"
SetSize="300 450">
<ScrollContainer VerticalExpand="True"
HorizontalExpand="True">
<BoxContainer Name="ButtonContainer"
Orientation="Vertical"
VerticalExpand="True"
SeparationOverride="5">
<!-- Target buttons get added here by code -->
</BoxContainer>
</ScrollContainer>
</SS14Window>