Search Issue Tracker

Feature Request

Votes

2

Found in

2021.3.32f1

2022.3.13f1

2023.1.20f1

2023.2.0b17

2023.3.0a14

Issue ID

UUM-56018

Regression

No

The text with a <style> tag and a style from a custom style sheet is shown as rich text when viewed in the UI Builders Viewport pane

--

-

How to reproduce:
1. Open the “UIBuilder_TextStyle_Repro“ project
2. Open the “SampleScene“
3. Open the “Window/UI Toolkit/UI Builder“ window
4. In the UI Builder window open the “Assets/Example.uxml“ asset
5. Observe “#example-style“ Label in the Viewport pane

Expected result: The Label “#example-style“ is displayed in that custom style.
Actual result: The Label “#example-style“ is displayed as rich text.

Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b17, 2023.3.0a14

Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested

Notes:
- The Label “#example-style“ in the Game view is displayed correctly (in the custom style)
- Also the text with the <strikethrough> tag is displayed as rich text in the UIBuilder Viewport pane

  1. Resolution Note:

    This is a known limitation of the UI Builder, it does not currently support custom Panel and Text Settings. We have plans to address this in the future as feature work.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.