Hi, I'm trying to make a Min Max Slider for a project. I managed to modify a bit a code that I found on Internet and it looks like this: The problem is at image 2: When I have a "tree" of values, the float fields are a lot smaller and the slider too. Do you have any idea how to fix this ? Code: Code (CSharp): public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { if (property.serializedObject.isEditingMultipleObjects) return; float textFieldWidth = 100; Rect sliderPos = position; sliderPos.x += EditorGUIUtility.labelWidth + textFieldWidth; sliderPos.width -= EditorGUIUtility.labelWidth + textFieldWidth * 2; var minProperty = property.FindPropertyRelative("min"); var maxProperty = property.FindPropertyRelative("max"); var minmax = attribute as MinMaxSliderAttribute ?? new MinMaxSliderAttribute(0, 1); var min = minProperty.floatValue; var max = maxProperty.floatValue; EditorGUI.PrefixLabel(position, GUIUtility.GetControlID(FocusType.Passive), label); Rect minPos = position; minPos.x += EditorGUIUtility.labelWidth; minPos.width = textFieldWidth; min = Mathf.Clamp(EditorGUI.FloatField(minPos, min), minmax.Min, max); Rect maxPos = position; maxPos.x += maxPos.width - textFieldWidth; maxPos.width = textFieldWidth; max = Mathf.Clamp(EditorGUI.FloatField(maxPos, max), min, minmax.Max); EditorGUI.MinMaxSlider(sliderPos, GUIContent.none, ref min, ref max, minmax.Min, minmax.Max); minProperty.floatValue = min; maxProperty.floatValue = max; } Sorry for my bad english.