Search Issue Tracker
By Design
Votes
0
Found in
2017.3.0b10
Issue ID
972063
Regression
No
GUI.contentColor doesn't affect color of labels while using Personal skin
To reproduce:
1. Open the attached project (attached by QA);
2. Change Editor Skin to Professional (Edit > Preferences... > General);
3. Open "TestWindow" (Window > TestWindow);
- Notice all of the text color is red;
4. Change Editor Skin to Personal;
5. Open TestWindow.
Expected result: GUI.contentColor is not ignored with Personal Editor Skin;
Actual result: GUI.contentColor is ignored with Personal Editor Skin.
Reproduced on versions: 2017.1.2p3, 2017.2.0p2 , 2017.3.0b11, 2018.1.0a6.
By design: GUI.contentColor is multiplied with the textColor specified in the current GUIStyleState (black in personal skin, light gray in pro skin). In this case the user needs to do either specify his or her own GUIStyle to use, or temporarily modify those used by the editor.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Simplexws
Nov 15, 2018 13:12
Please fix it!