Files
wwdpublic/Content.Client/_White/Loadouts/LoadoutEntry.xaml
Cinkafox b2d255cdd2 [tweak] UI Tweaks (#1001)
* - tweak: update StyleSheetify

* - add: flexbox

* - fix: size of flexbox in launchergui

* - tweak: Profile editor: start.

* - add: categories

* - tweak: help me please with this shi... loadouts

* - fix: container path think

* - tweak: thinks for optimisation

* - add: group selection for loadoutpicker

* - tweak: change position of preview

* - add: reason text

* - fix: Кролькины фиксы

* - fix: кролькины фиксы ч.2

* - fix: кролькины фиксы ч.3

* - кролькины фиксы - финал

* - fix: Ворчливого дедушкины фиксы, удаление старого барахла и пометка wwdp

* - tweak: some ui change for LoadoutCategories and LoadoutEntry

* - ворчливый дед фиксы ч.2

* - fix: очередные кролькины фиксы

* - add: loadout prototype validation

* - fix: description read from edit field
2026-01-04 23:33:01 +02:00

41 lines
2.0 KiB
XML

<controls:LoadoutEntry
xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client._White.Loadouts"
xmlns:controls1="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:graphics="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client">
<Control>
<BoxContainer Orientation="Horizontal">
<controls1:StyledButtonGroup Name="ButtonGroup" Orientation="Horizontal" HorizontalExpand="True">
<Button
Name="PreferenceButton"
ToggleMode="True"
VerticalAlignment="Center" >
<BoxContainer Orientation="Horizontal">
<Label Name="LoadoutCostText"
MinWidth="32"
StyleClasses="LabelHeading"
MaxWidth="32"
ClipText="True"
Margin="0,0,8,0"/>
<PanelContainer>
<PanelContainer.PanelOverride>
<graphics:StyleBoxFlat BackgroundColor="#2f2f2f" />
</PanelContainer.PanelOverride>
<SpriteView Name="PreviewLoadout" OverrideDirection="South" VerticalAlignment="Center" Margin="0" Scale="1.2,1.2" Stretch="Fill"/>
</PanelContainer>
<Label Name="LoadoutNameLabel" Margin="8,0,0,0"/>
</BoxContainer>
</Button>
<Button Visible="False"
Name="HeirloomButton"
Text="{Loc 'humanoid-profile-editor-loadouts-heirloom'}"
ToolTip="{Loc 'humanoid-profile-editor-loadouts-heirloom-tooltip'}"
ToggleMode="True"/>
<Button Name="HeadingButton" Text="{Loc 'humanoid-profile-editor-loadouts-customize'}"/>
</controls1:StyledButtonGroup>
</BoxContainer>
</Control>
</controls:LoadoutEntry>