Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2019.4
2019.4.22f1
2020.3
2021.1
2021.2
Issue ID
1326270
Regression
No
GUILayout.Toolbar middle buttons use a different font than outer buttons
Steps to reproduce:
1. Create/Open any Unity project
2. Open Window -> Rendering -> Lighting Window
3. Open Window -> Analysis -> IMGUI Debugger
4. Select Lighting Window as Inspected View in IMGUI Debugger
5. Check the assigned font of "Toolbar (LargeButtonLeft)", "Toolbar (LargeButtonMid)", "Toolbar (LargeButtonRight)"
Expected result: All of the buttons use the same font and there is no visual difference between mid and outer button text
Actual result: Inner and outer toolbar button text font looks slightly different, "Toolbar (LargeButtonMid)" has an assigned font while "Toolbar (LargeButtonLeft)" and "Toolbar (LargeButtonRight)" do not have an assigned font
Reproduced with: 2019.4.23f1, 2021.2.0a12
Note: this affects all GUILayout.Toolbar instances in the editor where the toolbar has 3 or more buttons (Lighting Window, Light Explorer Window, Navigation Window, Occlusion Culling)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] UI picking is offset to the left when Reference DPI and Fallback DPI differ
- Scrolling in a default ScrollView in WebGL builds is slower when compared to other platform builds and the Editor
- Physics 2D Manager documentation page is missing
- Duplicate External Textures start appearing when a Texture created with "CreateExternalTexture" is modified causing Memory Usage spikes on VisionOS
- Silent crash when using a "Blend Shape" in a "Skinned Mesh Renderer" to move vertices to Vector3.positiveInfinity, and "Occlusion Culling" is baked
Add comment