Announcement

Collapse
No announcement yet.

Plugin - FGameplayTag property in custom details panel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Plugin - FGameplayTag property in custom details panel

    Hi everyone!
    I'm currently writing on a plugin and need to customize the details panel of a UStruct. The goal is to rearrange the properties of said struct to make it a bit more readable.
    As you can see, the other property of this struct (UEnum "Relation") behaves/shows up as expected, but the FGameplayTag "Faction" doesn't:
    Click image for larger version  Name:	UE4CustomizationProblem01.jpg Views:	1 Size:	11.7 KB ID:	1635194

    Here's the code of the UStruct:
    Click image for larger version  Name:	UE4CustomizationProblem02.jpg Views:	1 Size:	37.2 KB ID:	1635195
     
    Spoiler


    And here's the slate code for the customization:
    Click image for larger version  Name:	UE4CustomizationProblem03.jpg Views:	1 Size:	217.1 KB ID:	1635196
     
    Spoiler


    The customization works with every other type of property I've tried it on like a charm, it's only the FGameplayTag that gives me this kind of problem.
    I'd be really glad if anyone could point me in the right direction.

    Thanks in advance! :-)
    Last edited by Datarecovery09; 06-25-2019, 04:34 AM. Reason: Edit: Forgot about the tags...

    #2
    Did you ever find a solution for this?

    Comment


      #3
      GameplayTags is a plugin which register its own set of type customizations.
      It's probably a conflict between your widget and the widget classes that the GameplayTag plugin registers.

      You could look into GameplayTag plugin and copy the code that builds widgets for that class.
      | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

      Comment

      Working...
      X