Skip to content

Commit

Permalink
Merged PR 625: Fixing invalid enum value metadata tags from UxtScroll…
Browse files Browse the repository at this point in the history
…ingObjectCollection

#Fixing invalid enum value metadata tags from UxtScrollingObjectCollection

EUxtScrollDirection and EUxtPaginateResult Enum values are using the Enumeration Metadata specifier 'ScriptName'. Enumerated values should use the specifier 'DisplayName' instead.

Related work items: #861
microsoft#16
  • Loading branch information
vaoliva committed Nov 30, 2020
1 parent 73382db commit 183b61e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/UXTools/Public/Controls/UxtScrollingObjectCollection.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ class UUxtFarPointerComponent;
UENUM(BlueprintType)
enum class EUxtScrollDirection : uint8
{
UpAndDown UMETA(ScriptName = "Up And Down", Tooltip = "The menu will scroll vertically. In this case Tiers will specify the number of rows, and Viewable area will specify the number of columns that are viewable. The collection will populate by filling columns in order."),
LeftAndRight UMETA(ScriptName = "Left And Right", Tooltip = "The menu will scroll horizontally. In this case Tiers will specify the number of columns, and Viewable area will specify the number of rows that are viewable. The collection will populate by filling rows in order."),
UpAndDown UMETA(DisplayName = "Up And Down", Tooltip = "The menu will scroll vertically. In this case Tiers will specify the number of rows, and Viewable area will specify the number of columns that are viewable. The collection will populate by filling columns in order."),
LeftAndRight UMETA(DisplayName = "Left And Right", Tooltip = "The menu will scroll horizontally. In this case Tiers will specify the number of columns, and Viewable area will specify the number of rows that are viewable. The collection will populate by filling rows in order."),
};

UENUM(BlueprintType)
enum class EUxtPaginateResult : uint8
{
Success UMETA(ScriptName = "Success", Tooltip = "The operation completed successfuly."),
Failed_ConcurrentOperation UMETA(ScriptName = "Failed, Concurrent Operation", Tooltip = "The operation was aborted due to another move request that has not yet finished."),
Failed_ConcurrentInteraction UMETA(ScriptName = "Failed, Concurrent User Interaction", Tooltip = "The operation was aborted because there is another interaction with the object." ),
Success UMETA(DisplayName = "Success", Tooltip = "The operation completed successfuly."),
Failed_ConcurrentOperation UMETA(DisplayName = "Failed, Concurrent Operation", Tooltip = "The operation was aborted due to another move request that has not yet finished."),
Failed_ConcurrentInteraction UMETA(DisplayName = "Failed, Concurrent User Interaction", Tooltip = "The operation was aborted because there is another interaction with the object." ),
};

// clang-format on
Expand Down

0 comments on commit 183b61e

Please sign in to comment.