Search Issue Tracker
Fixed in 1.0.0-preview.15
Votes
0
Found in [Package]
1.0.0-preview.13
Issue ID
1293761
Regression
No
Label Element is not resized when Display Style is changed from None to Flex
How to reproduce:
1. Download and open project 'UIToolkitRepro.zip' from Google Drive
2. Open Scene 'LabelSizeBug'
3. Enter Play Mode
4. Observe the Game View
5. Press the Space button on the keyboard to change Display Style from Flex to None
6. Press the Space button on the keyboard to change Display Style from None to Flex
7. Observe the Game View
Expected result: Element size is scaled to displayed text
Actual result: Element size is not scaled
Reproducible with: 1.0.0-preview.13 (2020.1.14f1, 2020.2.0b14)
Couldn't test with: 2018.4.30f1, 2019.4.16f1 (Couldn't downgrade the project, 2018.4 and 2019.4 streams are not supported in UI Toolkit previews), 2021.1.0a9 (Couldn't upgrade the project)
Note: Button gets scaled to the size it should be when hovered on it after changing Display Styles
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (fix version 1.0.0-preview.15):
Fixed in 2021.2.0a5 and 1.0.0-preview.15