5.7 crash with EditableTextBox.SetStyle?

This is easy to reproduce:

  1. Create an empty 5.7.1 project
  2. Create a user widget and add a Text Box
  3. In the PreConstruct event, call TextBox.SetStyle and give it any style. It can be an empty one or one that’s fully built out.
  4. Compile and go to design view
  5. Instant crash.

Has anyone found a workaround for this? It’s preventing us from upgrading our UI-heavy application.

Thanks!