* Well i tried this way * New approach (start) * Did it * makes spacelaw available, put it under sec
40 lines
2.3 KiB
XML
40 lines
2.3 KiB
XML
<controls:FancyWindow xmlns="https://spacestation14.io"
|
|
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
|
xmlns:fancyTree="clr-namespace:Content.Client.UserInterface.Controls.FancyTree"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
SetSize="850 700"
|
|
MinSize="100 200"
|
|
Resizable="True"
|
|
Title="{Loc 'guidebook-window-title'}">
|
|
<SplitContainer Orientation="Horizontal" HorizontalExpand="True" Name="Split">
|
|
<!-- Guide select -->
|
|
<BoxContainer Orientation="Horizontal" Name="TreeBox">
|
|
<fancyTree:FancyTree Name="Tree" VerticalExpand="True" HorizontalExpand="True" Access="Public"/>
|
|
<cc:VSeparator StyleClasses="LowDivider" Margin="0 -2"/>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True" VerticalExpand="True">
|
|
<BoxContainer Name="SearchContainer" Visible="False" HorizontalExpand="True">
|
|
<LineEdit
|
|
Name="SearchBar"
|
|
PlaceHolder="{Loc 'guidebook-filter-placeholder-text'}"
|
|
HorizontalExpand="True"
|
|
Margin="0 5 10 5">
|
|
</LineEdit>
|
|
</BoxContainer>
|
|
<BoxContainer Access="Internal" Name="ReturnContainer" Orientation="Horizontal" HorizontalAlignment="Right" Visible="False">
|
|
<Button Name="HomeButton" Text="{Loc 'ui-rules-button-home'}" Margin="0 0 10 0"/>
|
|
</BoxContainer>
|
|
<ScrollContainer Name="Scroll" HScrollEnabled="False" HorizontalExpand="True" VerticalExpand="True">
|
|
<Control>
|
|
<BoxContainer Orientation="Vertical" Name="EntryContainer" Margin="5 5 5 5" Visible="False">
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Vertical" Name="Placeholder" Margin="5 5 5 5">
|
|
<Label HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Loc 'guidebook-placeholder-text'}"/>
|
|
<Label HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Loc 'guidebook-placeholder-text-2'}"/>
|
|
</BoxContainer>
|
|
</Control>
|
|
</ScrollContainer>
|
|
</BoxContainer>
|
|
</SplitContainer>
|
|
</controls:FancyWindow>
|