Unity Issue Tracker - Not possible to set Editor Window text colour to be default black without workaround
Closed
UUM-89101
Not possible to set Editor Window text colour to be default black without workaround
Unity: UI Toolkit Controls
Usability
Won't Fix
6.1.X
6.0.X
2022.3.X
To set the inline value of a property to its default in the UI Builder inspector without changing the value, you can use `Right Click -> Set as inline value`.
Steps to reproduce:
Open a Unity Project
Open UI Toolkit Editor WIndow Creator via Create > UI Toolkit > Editor Window
Type 'TestEditorWindow' as the name for the asset. Ensure that UXML is checked
Click confirm to create the Editor Window
Open the TestEditorWindow via Window > UI Toolkit > TestEditorWindow
Enable UI Toolkit Live Reload on the window by clicking the more options ( : ) menu and checking the UI Toolkit Live Reload option
With the TestEditorWindow still open, open the TestEditorWindow.uxml file in UI Builder by double clicking on it
Actual results: The default colour for the text is black in the UI Builder (and in runtime UI) whereas it is white in the Editor Window. While this is expected, it is not possible to change the colour of the Editor Window text to be the default black colour without changing the colour to something else and then changing it back again.
Expected results: It is possible to make the Editor Window text colour to be the default black without needing to workaround by setting the colour to something else then setting it back
Reproducible with versions: 6000.1.0a6, 6000.0.30f1, 2022.3.53f1
Not reproducible with versions: -
Can't test with versions: 2021.3.45f1 (not supported by Ubuntu 24.04)
Tested on (OS): Ubuntu 24.04
Notes: -
Prioritise and Follow this issue
Have a workaround or additional info about this issue?