Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#325 - Fixed a bug that expandable draws label twice. #338

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

njuwuyuxin
Copy link

It may cause display error in Scriptable Wizard.

In ExpandablePropertyDrawer.cs:

  • When drawing expandable property, it calls EditorGUI.Foldout(). It may draw property label once.
  • After that , it calls EditorGUI.PropertyField() with label override. It may draw property label twice.

This problem was not discovered in inspector for the label totally overlaped when drawing twice.
But in Scriptable Wizard, the second label can't overlap on the first label (Maybe for the indent reason)

image

image

@njuwuyuxin
Copy link
Author

This issue has the same problem and may be fixed, too.
#306 - Expandable Attribute label is broken in custom editor window

@rhys-vdw
Copy link
Contributor

Looking forward to seeing this one merged!

@chuwilliamson
Copy link

nice good job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants