Search Issue Tracker

Active

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2018.4.0f1

2019.1.0a1

2019.1.1f1

2019.2.0a1

2019.3.0a1

Issue ID

1165255

Regression

No

Using GUIStyle.fixedHeight to set the Height of EditorGUILayout.TextField or PasswordField does not update the Interactable Area

IMGUI

-

To reproduce:

1. Download attached "New Unity Project (4).zip" project and open in Unity
2. Open the Custom Editor Window under Examples > TextField custom height
3. The upper TextField is using GUILayout.Height and can be selected anywhere in the Visual Field
4. The bottom TextField is using GUIStyle.fixedHeight and has only a small area on the first line, where you can click and select the Text. The lower part of the field is not intractable

Expected result: You are able to click and select anywhere in the Visible Field when using GUIStyle.fixedHeight
Actual result: Using GUIStyle.fixedHeight to set the Height to a larger value does not allow You for clicking and selecting in the bottom part of the Text fields

Notes:
- This issue appears on both Windows and macOS

Reproduced on Unity 2017.4.0f1, 2017.4.29f1, 2018.3.14f1, 2018.4.3f1, 2019.1.7f1, 2019.2.0b6 and 2019.3.0a7

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.