Search Issue Tracker

By Design

Votes

0

Found in

6000.0.32f1

6000.1.0a9

Issue ID

UUM-91719

Regression

No

Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. In the toolbar, select Herve > Open Dialogue Editor
3. Observe the Herve window

Expected result: White text is present
Actual result: Text is black

Reproducible with: 6000.0.32f1, 6000.1.0a9
Could not test with: 2022.3.55f1 (Assets\Herve\Scripts\Editor\Views\Windows\Popups\Popup.cs(44,35): error CS0115: 'Popup.CreateGUI()': no suitable method found to override)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Note:
- Does not reproduce with “DialogueEditorViewUSS” in Edit > Preferences > Herve > Herve Editor Theme Style Sheet

  1. Resolution Note:

    Hi! This is by design. TSS styles sheets are applied in a way the allows for all other normal style sheets and inline styles to override their style properties. They are treated special in terms of precedence. This is how the Editor works to allow users to easily override styles coming from the standard dark/light Editor themes. TSS style sheets are not meant to be used in Editor tools, and are primarily for runtime theming.

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.