Search Issue Tracker

Active

Votes

0

Found in

2021.3.44f1

2022.3.50f1

6000.0.23f1

Issue ID

UUM-84114

Regression

No

EditorGUILayout.LabelField displays black text when the "EditorStyles.whiteBoldLabel" parameter is passed in

--

-

How to reproduce:
1. Create and open a new project
2. Import the “LabelFieldExample.cs“ Script
3. Open the “Example > Editor GUILayout Label Usage“ Window in the Toolbar
4. Observe the Custom Editor Window

Expected result: The text is white and bolded
Actual result: The text is black, but bolded

Reproducible in: 2021.3.44f1, 2022.3.50f1, 6000.0.23f1

Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested

Notes:
- It seems, the style is deliberately making the text white, because by default the unstyled color is gray
- the “EditorStyles.whiteLabel” parameter colors the text white

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.