Search Issue Tracker
Fixed
Fixed in 6000.0.0b15, future release
Votes
0
Found in
2023.2.9f1
2023.3.0b6
6000.0.0b11
Issue ID
UUM-62804
Regression
No
UI Toolkit's Buttons don't fully expand when placed inside ToggleButtonGroup
Reproduction steps:
1. Open the attached “Tanks_Complete.zip” project
2. Open the “MainDemo” Scene
3. Select the “PlayManager” GameObject in the Hierarchy
4. Unravel the “Full Inspector” property in the Inspector’s “Play Manager (Script)” Component
5. Observe the buttons inside the “Game State” property
Expected Result: The “Game State” enum’s property drawer results in buttons that expand to the full width on the right of the label
Actual Result: The “Game State” enum's property drawer results in narrow buttons
Reproducible with: 2023.2.9f1, 2023.3.0b6
Couldn’t test with: 2021.3.34f1, 2022.3.19f1 (Unfixable compiler errors associated with UI Toolkit)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Looking at the buttons' styles, their width is fixed to 12.25%
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 6000.0.0b15):
Updated the inspector toggle button group class styling.