Hello, i have create a combo button for the UE4 Editor in a different tab window.
+ SHorizontalBox::Slot()
.AutoWidth()
.VAlign(VAlign_Center)
.Padding(1,1,3,1)
[
SNew(SComboButton)
.VAlign(VAlign_Center)
.HAlign(HAlign_Left)
.HasDownArrow(true)
.ButtonContent()
[
SNew(STextBlock)
.Text(FText::FromString(TEXT("Tests")))
]
.MenuContent()
[
SNew(SVerticalBox)
+ SVerticalBox::Slot()
.AutoHeight()
[
SNew(STextBlock)
.Text(FText::FromString(TEXT("Test 1")))
]
+ SVerticalBox::Slot()
.AutoHeight()
[
SNew(STextBlock)
.Text(FText::FromString(TEXT("Test 2")))
]
]
This is the code in the ChildSlot of the Tab window. I cant figure out what I need to put in order the Test1 and Test2 texts to be clickable… Any ideas?? Also, is there any good guide for the slate components??? Because i havent find anything good to be honest…
Thanks in advance!