Purpose and BenefitsUI actors help you convey information or add interactivity to your experience, in both the Authoring and Play modes. You can position, resize, or configure UI actors extensively. Some types of UI actors, such as UI texts or UI buttons, have a text or icon component that can affect the overall responsiveness of the UI actor. Before R2026x FD03, you had to manually define the dimensions and position of the text or icon components of UI actors. This often prevented UI actors from resizing correctly and affect their overall responsiveness. From R2026x FD03, the content of UI actors can now dynamically adapt to the dimensions of their container without lengthy manual adjustments. The improved responsiveness applies to the 2D and 3D versions of UI text and UI button actors in the following contexts:
Understanding Responsiveness StatesFrom R2026x FD03, UI actors can have two different states that define their responsiveness behavior:
Note:
The initial and fixed width states do not have any concrete UI representation
or visual indication. They are conceptual, virtual states that define the behaviors of UI
actors in relation to responsiveness.
Initial State (Default Behavior)In the initial state:
The initial state is similar to the legacy behavior of UI texts and UI buttons before R2026x FD03. The legacy behavior entails that the dimensions of the container result from the content itself. Therefore, the container grows dynamically when the text gets concatenated. The initial state introduces two differences compared with this legacy behavior:
The initial state enables a smooth transition from the legacy behavior to the new fixed width state. Fixed Width State (Controlled Layout)In the fixed width state:
The fixed width state introduces new behaviors for the text components, such as text wrapping and text cropping.
For these behaviors to work, the width of UI actors has to stay fixed. Therefore, the width of UI actors does not result from their content but from their physical model value instead. A UI actor can switch only from the initial state to the fixed width state, but not the other way around. The switch occurs when you manually modify the width of a UI actor. For example, when you modify the width in the Properties panel or in the JavaScript API. Behavior by UI Actor TypeThe following table details the behavior and specificities resulting from the new responsiveness system introduced in R2026x FD03 for the different types of impacted UI actors:
R2026x FD03: Transition to the New ResponsivenessWhen opening an experience created before R2026x FD03, the UI actors of this experience migrate to the new responsiveness system with the following effects:
The models of your UI actors change automatically to adapt to the new responsiveness system. | ||||||||||||||||||||