[Bugs bugs bugs] Slate widget synchronization

UE5.2 updates a bunch of slate widgets with new getters and setters, deprecating direct access to many properties. This is very good, because we need setters to sync Slate.

EPIC please test it properly because the editable text box and spinbox are already broken (see previous posts). Other than that, it’s good to see improvements on the synchronization process between Slate and UMG so that I am not forced to rebuild my widgets all the time after changing a single style property.

In 5.2, various getter / setter methods are still missing, though direct property access has already been deprecated. Please add these:

  • ComboBoxKey::ForegroundColor;
  • ComboBoxString::ForegroundColor;
  • ComboBoxString::Font;
  • UScrollBox::BackPadScrolling;
  • UScrollBox::FrontPadScrolling;
  • UScrollBox::NavigationScrollPadding;

For whatever reason there are two setters for this one, one is unsafe to call:

void UInputKeySelector::SetButtonStyle( const FButtonStyle* InButtonStyle )
{
	SetButtonStyle(*InButtonStyle);
}