Search Issue Tracker
By Design
Votes
0
Found in
2018.2.0f2
Issue ID
1059896
Regression
No
A Toggle.text not displayed when instantiated from a uxml file
Steps to reproduce:
1. Open user attached project
2. From the context menu open 'BUG REPORT'
Expected behaviour: Toggle with text created in uxml displayed
Actual behaviour: Toggle has no text
Reproduced on: 2018.2.0f2, 2018.3.0a5
Workaround: Create a toggle programmatically
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
- A TextMeshPro TextField is switched to an un-relevent font when adding a Bold Font Style
- Poor visibility of Save button in "Light" Editor theme
- Incorrectly baking lighting when consecutively loading multiple scenes with individual Baking Sets
- [Android] Crash on startup when Depth Stencil Format is set to S8_UINT
- Multiple errors occur when setting the Render Object Event to AfterRenderingPostProcessing while using STP for Upscaling
marcusri
Aug 27, 2018 21:54
You can set a toggle's text in uxml by using "label" instead.
<ui:Toggle name="toggle" label="My Toggle" value="true"/>