ItemStatusPanel.xaml 1.4 KB

1234567891011121314151617181920212223242526272829
  1. <controls:ItemStatusPanel
  2. xmlns="https://spacestation14.io"
  3. xmlns:controls="clr-namespace:Content.Client.UserInterface.Systems.Inventory.Controls"
  4. xmlns:graphics="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
  5. VerticalAlignment="Bottom"
  6. HorizontalAlignment="Center">
  7. <PanelContainer Name="Panel">
  8. <PanelContainer.PanelOverride>
  9. <graphics:StyleBoxTexture
  10. PatchMarginBottom="4"
  11. PatchMarginTop="6"
  12. TextureScale="2 2"
  13. Mode="Tile"/>
  14. </PanelContainer.PanelOverride>
  15. </PanelContainer>
  16. <PanelContainer Name="HighlightPanel">
  17. <PanelContainer.PanelOverride>
  18. <graphics:StyleBoxTexture PatchMarginBottom="4" PatchMarginTop="6" TextureScale="2 2">
  19. </graphics:StyleBoxTexture>
  20. </PanelContainer.PanelOverride>
  21. </PanelContainer>
  22. <BoxContainer Name="Contents" Orientation="Vertical" Margin="0 6 0 4" RectClipContent="True">
  23. <BoxContainer Name="StatusContents" Orientation="Vertical" VerticalExpand="True" VerticalAlignment="Bottom" />
  24. <Control>
  25. <Label Name="NoItemLabel" ClipText="True" StyleClasses="ItemStatusNotHeld" Align="Left" Text="{Loc 'item-status-not-held'}" />
  26. <Label Name="ItemNameLabel" ClipText="True" StyleClasses="ItemStatus" Align="Left" Visible="False" />
  27. </Control>
  28. </BoxContainer>
  29. </controls:ItemStatusPanel>