Search Issue Tracker
Fixed in -
Votes
0
Found in [Package]
-
Issue ID
1351235
Regression
No
Button padding resets when Aspect ratio is changed
How to reproduce:
1. Open the attached project "Repro.zip"
2. Open Assets/Scenes/Prototype Scene 2_UIT.unity
3. Enter Play Mode
4. Change Aspect ratio to "16:9 Aspect" in the Game view
Expected results: At the bottom of the Game view "Building" and "Units" Buttons' padding stays the same
Actual results: At the bottom of the Game view "Building" and "Units" Buttons' padding resets to 0
Reproducible with: 1.0.0-preview.14, 1.0.0-preview.15 (2020.3.17f1, 2021.1.18f1), 2021.2.0b7, 2022.1.0a5
Could not test with: 2019.4.29f1 (UI Toolkit unavailable)
Notes: Hovering over a Button with a mouse fixes the issue
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Resolution Note (fix version -):
Fixed in 2022.2.0a16