Hello hello, I am creating a EditorPlugin and I’m working on the UI. I wanted to match the margin of my plugin’s dock to the default Godot margin on the editor’s dock so it look nice and clean. However, there is a wierd margin that is just slightly bigger than the normal one and I’m not being able to find where the issue comes from. I will delineate the margin with red in some parts to show better the issue.
The PanelContainer.panelStyleBox has some content margins applied in the editor theme. You are probably seeing those margins in the different PanelContainers your scene has.
A possible fix is to override their panelStyleBox with a StyleBoxEmpty or do it in a Theme