Inline Editor for transform breaks layout of window

Issue #285 new
Sean Templeton created an issue

Example of broken behavior: http://take.ms/wutmQ

Using Odin 1.0.6.0 on unity 2017.3.0f3 64bit on windows 10 64bit

It's entirely possibly I'm doing something bad here, but with this code, the above screenshot happens:

[Serializable]
public class RpgSettingsEditor : OdinEditorWindow
{
    protected override void OnEnable()
    {
        base.OnEnable();

        GameObject defaultRenderTransformGameObject = new GameObject();
        defaultRenderTransformGameObject.name = "Default Render Transform";

        ItemTextureDefaultRenderTransform = defaultRenderTransformGameObject.transform;
    }

    [BoxGroup("ItemIconRenderer")]
    [InfoBox("This path determines where item icon renders will be written to")]
    [FolderPath(RequireValidPath = true)]
    public string ItemTextureRenderPath;

    [BoxGroup("ItemIconRenderer")]
    public PostProcessingProfile ItemTexturePostProcessingProfile;

    [BoxGroup("ItemIconRenderer")]
    public Color ItemTextureBackgroundColor;

    [BoxGroup("ItemIconRenderer")]
    [InlineEditor]
    public Transform ItemTextureDefaultRenderTransform;
}

Comments (0)

  1. Log in to comment