Developer Notes

Size To Content uses the desired size of the content. If the content can arbitrarily shrink and change sizes, based on the previous size, you're going to see this kind of Hysteresis, nature of the beast.

Description

TextBox(Multi-line) or EditableText(multi-line) in UMG blinks when it meets certain condition in editor.

The condition is Both Size to content option for TextBox(Multi-line) or EditableText(multi-line) and Canvas panel as its parent is true, Anchor typs is filling each axis for the child, Wrap Text At is larger than sum of each axis' offset.

Steps to Reproduce

1) Create new widget blueprint
2) Add a new Canvas panel
3) Add one TextBox(Multi-line) or EditableText(multi-line) as the panel's child
4) Set anchor to filling each axis (most right bottom one)
5) Give each 20 to all four offsets
6) Fill Text with any long word
7) Set Wrap Text At more than sum of each axis, this time use 450 for test (i.e. 20+20 -> 40)
8) Check Size To Content than select the Canvas panel
9) Compile and check Size To Content of the panel.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-25724 in the post.

0
Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems
Affects Versions4.104.11
CreatedJan 20, 2016
ResolvedJan 25, 2016
UpdatedJul 14, 2021