mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-15 03:31:30 +01:00
* XAML verb menu
* fix ghost FOV
* spacing
* rename missed "ContextMenu"->"EntityMenu" instances
* move visibility checks to verb system
* update comment
* Remove CanSeeContainerCheck
* use ScrollContainer measure option
* MaxWidth / texxt line wrapping
* verb category default
Now when you click on a verb category, it should default to running the first member of that category.
This makes it much more convenient to eject/insert when there is only a single option
* only apply style to first verb category entry
* Use new visibility flags
* FoV -> Fov
* Revert "only apply style to first verb category entry"
This reverts commit 9a6a17dba6.
* make all entity menu visibility checks clientside
* Fix empty unbuckle category
* fix merge
27 lines
1.0 KiB
XML
27 lines
1.0 KiB
XML
<ContainerButton
|
|
xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:ui="clr-namespace:Content.Client.ContextMenu.UI"
|
|
MinHeight="{x:Static ui:ContextMenuElement.ElementHeight}">
|
|
<BoxContainer Orientation="Horizontal">
|
|
<Control
|
|
Name="Icon"
|
|
SetWidth="{x:Static ui:ContextMenuElement.ElementHeight}"
|
|
SetHeight="{x:Static ui:ContextMenuElement.ElementHeight}"/>
|
|
<RichTextLabel
|
|
Name="Label"
|
|
MaxWidth="300"
|
|
HorizontalExpand="True"
|
|
VerticalAlignment="Center"
|
|
Margin ="4 0 4 0"/>
|
|
<TextureRect
|
|
Name="ExpansionIndicator"
|
|
HorizontalAlignment="Right"
|
|
Stretch="KeepCentered"
|
|
TextureScale="0.5 0.5"
|
|
SetWidth="{x:Static ui:ContextMenuElement.ElementHeight}"
|
|
SetHeight="{x:Static ui:ContextMenuElement.ElementHeight}"
|
|
Visible ="false"/>
|
|
</BoxContainer>
|
|
</ContainerButton>
|