Skip to content

Commit fe0212c

Browse files
(v2) Scene editor: fix section spacing.
1 parent c2c39dc commit fe0212c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

source/v2/phasereditor/phasereditor.ui/src/phasereditor/ui/properties/FormPropertyPage.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,13 @@ public RowComp(Composite parent, FormPropertySection section) {
206206
var toolbarManager = new ToolBarManager();
207207
section.fillToolbar(toolbarManager);
208208
var toolbar = toolbarManager.createControl(header);
209-
toolbar.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, true, false));
209+
{
210+
toolbar.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, true, false));
211+
212+
if (toolbar.getItemCount() == 0) {
213+
((GridData) header.getLayoutData()).verticalIndent = 5;
214+
}
215+
}
210216

211217
section.update_UI_from_Model();
212218

0 commit comments

Comments
 (0)