HorizontalGroup "LabelWidth" does not work on following fields.

Issue #435 new
Knight Lazy
created an issue

Unity Version: 2017.2.1f1
Odin Version: 2.0.5.0

Code like below, the Width works well but LabelWidth does not work on the following fields (mhp, hp).

[HorizontalGroup(Width = 80, LabelWidth = 45, PaddingLeft = 0, PaddingRight = 0, MarginLeft = 0, MarginRight = 0)]
public bool useHP = true;
[HorizontalGroup(Width = 100, LabelWidth = 30, PaddingLeft = 0, PaddingRight = 0, MarginLeft = 0, MarginRight = 20), ShowIf("useHP")]
public int mhp = 100;
[HorizontalGroup(Width = 100, LabelWidth = 30, PaddingLeft = 0, PaddingRight = 0, MarginLeft = 0, MarginRight = 0), ShowIf("useHP")]
public int hp = 100;

Comments (1)

  1. Log in to comment