Bläddra i källkod

#153 added margin to allow better connection of transitions

andreas muelder 7 år sedan
förälder
incheckning
f202ed69ea

+ 2 - 2
plugins/org.yakindu.sct.ui.editor/src/org/yakindu/sct/ui/editor/editor/figures/StateFigure.java

@@ -47,8 +47,8 @@ public class StateFigure extends RoundedRectangle {
 		GridLayout layout = new GridLayout(1, false);
 		layout.verticalSpacing = 0;
 		layout.horizontalSpacing = 0;
-		layout.marginHeight = 3;
-		layout.marginWidth = 3;
+		layout.marginHeight = 5;
+		layout.marginWidth = 5;
 		this.setLayoutManager(layout);
 		this.setCornerDimensions(new Dimension(mapMode.DPtoLP(15), mapMode
 				.DPtoLP(15)));