-
-
Notifications
You must be signed in to change notification settings - Fork 34
Added configuration foldout to all service configuration profiles #529
Conversation
…iguration expects
serializedObject.Update(); | ||
EditorGUILayout.Space(); | ||
configurationList.DoLayoutList(); | ||
showConfigurationFoldout = EditorGUILayout.Foldout(showConfigurationFoldout, new GUIContent($"{ServiceConstraint.Name} Configuration Options"), true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be cached as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it? I'm not confident the service constraint is populated in the constructor
serializedObject.Update(); | ||
EditorGUILayout.Space(); | ||
configurationList.DoLayoutList(); | ||
showConfigurationFoldout = EditorGUILayout.Foldout(showConfigurationFoldout, new GUIContent($"{ServiceConstraint.Name} Configuration Options"), true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the "EditorGUILayoutExtensions.FoldoutWithBoldLabel" here? To gradually update all the inspectors to use it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do use it in the rolled up branches. It's just that you didn't commit just that change to the development branch. (We could have you pull it out but that's up to you)
XRTK - Mixed Reality Toolkit Change Request
Overview