Files
tbd-station-14/Content.Client/Store/Ui/StoreListingControl.xaml
Mora c6739b2c89 Adjust uplink buy button to be under item icon (#38596)
* Adjusted uplink buy button to be under item icon

* Put the discount subtext under the icon

* Indent fixes, added margin

---------

Co-authored-by: TrixxedHeart <46364955+TrixxedBit@users.noreply.github.com>
2025-07-03 16:49:27 -07:00

29 lines
1.2 KiB
XML

<Control xmlns="https://spacestation14.io">
<BoxContainer Margin="8,0,8,8" Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Name="StoreItemName" HorizontalExpand="True" />
</BoxContainer>
<PanelContainer StyleClasses="HighDivider" Margin="0,1,0,2"/>
<BoxContainer HorizontalExpand="True" Orientation="Horizontal">
<BoxContainer Orientation="Vertical" VerticalAlignment="Center" Margin="0,0,4,0">
<TextureRect
Name="StoreItemTexture"
Margin="0,0,4,0"
MinSize="48 48"
Stretch="KeepAspectCentered" />
<Button
Name="StoreItemBuyButton"
MinWidth="48"
MaxHeight="48"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Margin="0,4,0,0"
Access="Public" />
<Label Name="DiscountSubText"
HorizontalAlignment="Center"/>
</BoxContainer>
<RichTextLabel Name="StoreItemDescription" VerticalAlignment="Top"/>
</BoxContainer>
</BoxContainer>
</Control>