Add informations to cargo order form (#10513)
This commit is contained in:
@@ -79,6 +79,7 @@ namespace Content.Client.Cargo.UI
|
||||
{
|
||||
Product = prototype,
|
||||
ProductName = { Text = prototype.Name },
|
||||
MainButton = { ToolTip = prototype.Description },
|
||||
PointCost = { Text = Loc.GetString("cargo-console-menu-points-amount", ("amount", prototype.PointCost.ToString())) },
|
||||
Icon = { Texture = _spriteSystem.Frame0(prototype.Icon) },
|
||||
};
|
||||
|
||||
@@ -2,6 +2,17 @@
|
||||
Title="{Loc 'cargo-console-order-menu-title'}">
|
||||
<BoxContainer Orientation="Vertical">
|
||||
<GridContainer Columns="2">
|
||||
<Label Text="{Loc 'cargo-console-order-menu-product-label'}" />
|
||||
<Label Name="ProductName"
|
||||
Access="Public" />
|
||||
<Label Text="{Loc 'cargo-console-order-menu-description-label'}" />
|
||||
<RichTextLabel Name="Description"
|
||||
Access="Public"
|
||||
VerticalExpand="True"
|
||||
SetWidth="350"/>
|
||||
<Label Text="{Loc 'cargo-console-order-menu-cost-label'}" />
|
||||
<Label Name="PointCost"
|
||||
Access="Public" />
|
||||
<Label Text="{Loc 'cargo-console-order-menu-requester-label'}" />
|
||||
<LineEdit Name="Requester"
|
||||
Access="Public" />
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
||||
HorizontalExpand="True">
|
||||
<Button Name="MainButton"
|
||||
ToolTip=""
|
||||
Access="Public"
|
||||
HorizontalExpand="True"
|
||||
VerticalExpand="True" />
|
||||
|
||||
Reference in New Issue
Block a user