Search Issue Tracker

Won't Fix

Unknown (hidden) 2020.3.X, 2021.3.X, 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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.