I don't know how you guys fixed the UPROPERTY indentation but it is great.
I started to do some stuff with slate and it does some weird stuff with the indentation. Is there some setting to improve the experience?
an example is
ChildSlot
[
SNew(SHorizontalBox)
+SHorizontalBox::Slot()
.AutoWidth()
[
SNew(STextBlock)
.Text(FText::FromString("SomeText"))
]
+SHorizontalBox::Slot()
.AutoWidth()
[
SNew(SVerticalBox)
+SVerticalBox::Slot()
.AutoHeight()
[
SNew(STextBlock)
.Text(FText::FromString("Icon Editor"))
.Font(TitleTextFont)
.Justification(ETextJustify::Center)
.ColorAndOpacity(FColor::White)
]
+SVerticalBox::Slot()
.VAlign(VAlign_Fill)
[
SNew(STextBlock)
.Text(FText::FromString("More text"))
.Font(TitleTextFont)
.Justification(ETextJustify::Center)
.ColorAndOpacity(FColor::White)
]
]
];
Not sure how hard it is to get some rules for this. It breaks when adding a new slot (square brackets)
+SVerticalBox::Slot()
[
...
]
and when adding arguments to the new widgets (.yyy .zzz)
SNew(xxx)
.yyy
.zzz