* Always display item status panel fully Initial feedback from the UI changes seems to be that a lot of people go "why is there empty space" so let's fix that. * Fix item status middle hand being on the wrong side I think I switched this around when fixing the left/right being inverted in the UI code. * Minor status panel UI tweaks Bottom-align contents now that the panel itself doesn't dynamically expand, prevent weird gaps. Clip contents for panel * Fix clipping on implanters and network configurators. Made them take less space. For implanters the name has to be cut off, which I did by adding a new ClipControl to achieve that in rich text. * Update visibility of item status panels based on whether you have hands at all. This avoids UI for borgs looking silly. Added a new "HandUILocation" enum that doesn't have middle hands to avoid confusion in UI code. * Use BulletRender for laser guns too. Provides all the benefits like fixing layout overflow and allowing multi-line stuff. Looks great now. This involved generalizing BulletRender a bit so it can be used for not-just-bullets. * Fix geiger word wrapping if you're really fucked
60 lines
2.4 KiB
XML
60 lines
2.4 KiB
XML
<widgets:HotbarGui
|
|
xmlns="https://spacestation14.io"
|
|
xmlns:inventory="clr-namespace:Content.Client.UserInterface.Systems.Inventory.Controls"
|
|
xmlns:storage="clr-namespace:Content.Client.UserInterface.Systems.Storage.Controls"
|
|
xmlns:hands="clr-namespace:Content.Client.UserInterface.Systems.Hands.Controls"
|
|
xmlns:widgets="clr-namespace:Content.Client.UserInterface.Systems.Hotbar.Widgets"
|
|
Name="HotbarInterface"
|
|
VerticalExpand="True"
|
|
VerticalAlignment="Bottom"
|
|
Orientation="Vertical"
|
|
HorizontalAlignment="Center">
|
|
<BoxContainer Orientation="Vertical">
|
|
<BoxContainer Name="StorageContainer"
|
|
Access="Public"
|
|
HorizontalAlignment="Center"
|
|
Margin="10">
|
|
<storage:StorageContainer
|
|
Name="StoragePanel"
|
|
Visible="False"/>
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" Name="Hotbar" HorizontalAlignment="Center">
|
|
<inventory:ItemSlotButtonContainer
|
|
Name="SecondHotbar"
|
|
SlotGroup="SecondHotbar"
|
|
VerticalAlignment="Bottom"
|
|
HorizontalAlignment="Right"
|
|
VerticalExpand="False"
|
|
ExpandBackwards="True"
|
|
Columns="6"
|
|
HorizontalExpand="False"/>
|
|
<inventory:ItemStatusPanel
|
|
Name="StatusPanelRight"
|
|
HorizontalAlignment="Center" Margin="0 0 -2 2"
|
|
SetWidth="125"
|
|
SetHeight="60"/>
|
|
<hands:HandsContainer
|
|
Name="HandContainer"
|
|
Access="Public"
|
|
HorizontalAlignment="Center"
|
|
HorizontalExpand="False"
|
|
ColumnLimit="6"/>
|
|
<inventory:ItemStatusPanel
|
|
Name="StatusPanelLeft"
|
|
HorizontalAlignment="Center" Margin="-2 0 0 2"
|
|
SetWidth="125"
|
|
SetHeight="60"/>
|
|
<inventory:ItemSlotButtonContainer
|
|
Name="MainHotbar"
|
|
SlotGroup="MainHotbar"
|
|
VerticalExpand="False"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Bottom"
|
|
HorizontalExpand="False"
|
|
ExpandBackwards="True"
|
|
Columns="6"
|
|
/>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</widgets:HotbarGui>
|