Editor Window Array to Scrollview

Hey,
I’m currently working on an localization Editor in the Unity Editor.

Currently the Save, Create and Load Buttons are there and doing their Stuff.
The Scrollbar on the right is also there.
Also the Data (which contains key and value) is correctly created, but not added to the Scrollbar.

What shouldbe working when I’m done?
The Key is displayed in the Scrollbar and below a bit to the right is the InputField for the Value.

Currently:

How it should look like:

As I’m new to the EditorScripting I have no Idea where I should start and what I can do.
If someone can Help me, even with Small Steps like one of the Following, I would be happy:

  • How to Add Stuff into a Scrollbar
  • How to create thoose Boxes

Thx,
RPGFabi

Done, This is the solution

 scrollPos = GUILayout.BeginScrollView(scrollPos, false, true);
                GUILayout.Label("Localization Keys from Files", GUILayout.Height(50) );
                for (int i = 0; i < localizationData.items.Length; i++)
                {
                    EditorGUILayout.BeginFoldoutHeaderGroup(true, localizationData.items[i].key);
                   
                    EditorGUI.indentLevel++;
                            EditorGUILayout.BeginHorizontal();
                                EditorGUILayout.LabelField("Value to set: ", GUILayout.Height(20));
                                localizationData.items[i].value = EditorGUILayout.TextField(localizationData.items[i].value, GUILayout.Height(20));
                                GUILayout.FlexibleSpace();
                            EditorGUILayout.EndHorizontal();
                    EditorGUI.indentLevel--;
                   
                    EditorGUILayout.EndFoldoutHeaderGroup();
                }
            GUILayout.EndScrollView();