24 lines
1.8 KiB
XML
24 lines
1.8 KiB
XML
<controls:FancyWindow xmlns="https://spacestation14.io"
|
|
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
Title="{Loc 'custom-objective-window-title'}"
|
|
MinSize="300 370"
|
|
SetSize="550 370"> <!-- Frontier: MinSize height 250<370, add gfx namespace -->
|
|
<BoxContainer Orientation="Vertical" Margin="10 0 20 0">
|
|
<Label HorizontalAlignment="Center" Text="{Loc 'custom-objective-window-explain'}" Margin="0 10 0 10" /> <!-- Frontier: add margin -->
|
|
<!-- Frontier: add PanelContainer around TextEdit -->
|
|
<PanelContainer VerticalExpand="True">
|
|
<PanelContainer.PanelOverride>
|
|
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
|
</PanelContainer.PanelOverride>
|
|
<TextEdit Name="ObjectiveSummaryTextEdit" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" MinHeight="200" VerticalExpand="True"> <!-- Frontier: add VerticalExpand, remove MaxHeight="500" -->
|
|
<Label Name="PlaceholderText" HorizontalAlignment="Center" VerticalAlignment="Center" StyleClasses="PlaceholderText" Text="{Loc 'custom-objective-window-explain-type-here'}" />
|
|
</TextEdit>
|
|
</PanelContainer>
|
|
<!-- End Frontier: add PanelContainer around TextEdit -->
|
|
<Label Name="CharacterLimitLabel" HorizontalAlignment="Center" StyleClasses="LabelSmall"/>
|
|
<Label HorizontalAlignment="Center" Text="{Loc 'custom-objective-window-explain-edit'}" />
|
|
<Button Name="SubmitButton" Text="{Loc 'custom-objective-window-submit-button-text'}" Margin="0 10 0 10" />
|
|
</BoxContainer>
|
|
</controls:FancyWindow>
|