40 lines
2.3 KiB
XML
40 lines
2.3 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"
|
|
xmlns:co="clr-namespace:Content.Client.UserInterface.Controls"
|
|
SetSize="360 400"
|
|
MinSize="300 320"> <!-- Frontier: added SetSize, MinSize, remove MinHeight="210" -->
|
|
<BoxContainer Name="MainContainer" Orientation="Vertical">
|
|
<!-- Frontier: balance -->
|
|
<GridContainer Margin ="0 2 0 4" Columns="2" HorizontalExpand="True">
|
|
<BoxContainer Margin="4 0 2 0" Orientation="Horizontal" HorizontalExpand="True" HorizontalAlignment="Left">
|
|
<Label Text="{Loc 'bank-atm-menu-balance-label'}"
|
|
StyleClasses="LabelKeyText" />
|
|
<Label Name="BalanceLabel"
|
|
Text="{Loc 'bank-atm-menu-no-bank'}" />
|
|
</BoxContainer>
|
|
<BoxContainer Margin="2 0 4 0" Orientation="Horizontal" HorizontalExpand="True" HorizontalAlignment="Right" Name="CashSlotControls">
|
|
<Label Text="{Loc 'vending-machine-menu-cash-slot-label'}"
|
|
StyleClasses="LabelKeyText" />
|
|
<Label Name="CashSlotLabel"
|
|
Text="$0" />
|
|
</BoxContainer>
|
|
</GridContainer>
|
|
<!-- End Frontier: balance -->
|
|
<LineEdit Name="SearchBar" PlaceHolder="{Loc 'vending-machine-component-search-filter'}" HorizontalExpand="True" Margin ="4 4"/>
|
|
<co:SearchListContainer Name="VendingContents" VerticalExpand="True" Margin="4 4"/>
|
|
<!-- Footer -->
|
|
<BoxContainer Orientation="Vertical">
|
|
<PanelContainer StyleClasses="LowDivider" />
|
|
<BoxContainer Orientation="Horizontal" Margin="10 2 5 0" VerticalAlignment="Bottom">
|
|
<Label Text="{Loc 'vending-machine-flavor-left'}" StyleClasses="WindowFooterText" />
|
|
<Label Text="{Loc 'vending-machine-flavor-right'}" StyleClasses="WindowFooterText"
|
|
HorizontalAlignment="Right" HorizontalExpand="True" Margin="0 0 5 0" />
|
|
<TextureRect StyleClasses="NTLogoDark" Stretch="KeepAspectCentered"
|
|
VerticalAlignment="Center" HorizontalAlignment="Right" SetSize="19 19"/>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</controls:FancyWindow>
|