Author Topic: Unity 4 UIPanel Editor Checkbox Problem  (Read 4248 times)

Ferazel

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 150
    • View Profile
Unity 4 UIPanel Editor Checkbox Problem
« on: August 28, 2012, 12:26:02 PM »
I'm working in Unity 4.0 b7 and using NGUI 2.16. I'm having problems after the upgrade with being able to select any of the Normals, Depth Pass, or Static checkboxes on the UIPanel in the editor.

PhilipC

  • Guest
Re: Unity 4 UIPanel Editor Checkbox Problem
« Reply #1 on: August 28, 2012, 04:01:58 PM »
Hi Ferazel,

So it appears that its a Bug in Unity 4. I have submitted a bug (case #487505 in case you want to follow it).

The issue is with using GUILayout.Width(...) so if you need to toggle those options right now find the corrisponding inspector class (UIPanelInspector for the UIPanel) and remove the offending GUILayout .Width. It might make some thing visually look unappealing (depending which script you remove it from) but they will function how you need them to.