Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[SLATE] SExpandableArea Image, Hover, etc.

Hey there,

I'm currently trying to create an Editor Plugin and it took me a few hours already just searching the Engine. My problem is the following:

I want something like the "World" Category Area to expand and collapse.


I searched around a bit and I found an AnswerHUB post that suggested not using the "SDetailCategoryTableRow", but the "SExpandableArea" Widget. I did that, but now I face the problem of not having any border background to it.


I tried doing this:

 .BorderImage( FEditorStyle::GetBrush( "ToolBar.Background" ) )

But it seems to have 0 effect (still not background). The "SDetailCategoryTableRow" has a function that selects an Image based on Expanded or not and Hovered or not, but that's bound when the Widget is created. That would need me to create my own child of "SExpandableArea", which I kinda don't want if not needed.

I searched further and tried to add an "FExpandableAreaStyle", but although this features "Collapsed" and "Expanded" images, setting them still has no effect and it's also not using anything for the IsHovered state.

So how would I do that? Do I really need to have my own Child and implement that myself by recreating the Header from scratch?

Product Version: UE 4.14
more ▼

asked Jan 14 '17 at 05:01 PM in Using UE4

avatar image

6.8k 332 184 465

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

For now I created a Child of "SExpandableArea" and reimplemented the HeaderWidget with a "SBorder" in front of it. Then I wrote my own function to select the BackgroundImage, similar to the Details Widget. Works for now.

more ▼

answered Jan 14 '17 at 05:22 PM

avatar image

6.8k 332 184 465

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question