Search Issue Tracker
Won't Fix
Won't Fix in 2022.2.X
Votes
0
Found in
2020.3.35f1
2021.3.5f1
2022.2.0a17
Issue ID
UUM-3540
Regression
Yes
Inspector buttons' rect margins are offset when using GUIStyle with EditorStyles.miniButtonMid
How to reproduce:
1. Open the attached project's Scene labeled "Bug"
2. In the Hierarchy, select the "BadStyle" GameObject
3. In the Inspector, preview the drawn buttons
4. Inspect the middle "B" button between "A" and "C"
Expected result: Spacing between buttons is equally distributed
Actual result: Button's with EditorStyles.miniButtonMid style margins are offset slightly
Reproducible with: 2019.3.9f1, 2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5
Not reproducible with: 2019.3.8f1
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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
- Resize to Fit option for Import Activity window's Columns does nothing
Resolution Note:
This is a cosmetic issue that would require more investigation than is worth. It's also IMGUI and we are slowly but surely moving away from it. This bug will be irrelevant before anyone will have a chance to get to it.
Resolution Note (2022.2.X):
This is a cosmetic issue that would require more investigation than is worth. It's also IMGUI and we are slowly but surely moving away from it. This bug will be irrelevant before anyone will have a chance to get to it.