From 42bfefe6c0371688f320a7295ceb823f94e96d90 Mon Sep 17 00:00:00 2001 From: Chris Galvan Date: Tue, 13 Jul 2021 13:02:11 -0500 Subject: [PATCH] Make new input event groups auto-expanded by default. Signed-off-by: Chris Galvan --- Gems/StartingPointInput/Code/Source/InputEventGroup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Gems/StartingPointInput/Code/Source/InputEventGroup.h b/Gems/StartingPointInput/Code/Source/InputEventGroup.h index 0ef9797f24..88a27cf3ee 100644 --- a/Gems/StartingPointInput/Code/Source/InputEventGroup.h +++ b/Gems/StartingPointInput/Code/Source/InputEventGroup.h @@ -37,6 +37,7 @@ namespace StartingPointInput editContext->Class("InputEventGroup", "Groups input bindings by the event they generate") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::NameLabelOverride, &InputEventGroup::GetEditorText) + ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->DataElement(0, &InputEventGroup::m_eventName, "Event Name", "The event generated by the collection of Input Bindings") ->Attribute(AZ::Edit::Attributes::ChangeNotify, AZ_CRC("RefreshAttributesAndValues")) ->DataElement(0, &InputEventGroup::m_inputHandlers, "Event Generators", "Handlers that generate named events")