How to remove gaps between cells in a custom editor?

float width = EditorGUIUtility.currentViewWidth / (19 * 2f);
        EditorGUILayout.BeginVertical();
        for (int i = 0; i < 14; i++)
        {
            EditorGUILayout.BeginHorizontal();

            EditorGUI.indentLevel = 0;
            EditorGUIUtility.labelWidth = 0.0001f;
            EditorGUIUtility.fieldWidth = width;

            for (int j = 0; j < 19; j++)
            {
                GUIContent gUIContent = new GUIContent();
                gUIContent.text = string.Empty;
                EditorGUILayout.ColorField(gUIContent, Color.white, false, true, false);
            }

            EditorGUILayout.EndHorizontal();
        }
        EditorGUILayout.EndVertical();

7603816--944044--2021-10-26_16-59-18.png

I’m not sure how much control you can get over this, but I imagine there might be some control exposed if you use either a GUIStyle or a GUISkin (a collection of GUIStyles)… check into those.