Browse Source

Changed initial bounds of new created diagram

Andreas Mülder 14 years ago
parent
commit
53dff3d513

+ 2 - 2
plugins/org.yakindu.sct.ui.editor/src/org/yakindu/sct/ui/editor/factories/FactoryUtils.java

@@ -140,7 +140,7 @@ public final class FactoryUtils {
 
 	private static void setStateViewLayoutConstraint(Node stateNode) {
 		Bounds bounds = NotationFactory.eINSTANCE.createBounds();
-		bounds.setX(10);
+		bounds.setX(40);
 		bounds.setY(80);
 		stateNode.setLayoutConstraint(bounds);
 	}
@@ -148,7 +148,7 @@ public final class FactoryUtils {
 	private static void setInitialStateViewLayoutConstraint(
 			Node initialStateView) {
 		Bounds bounds = NotationFactory.eINSTANCE.createBounds();
-		bounds.setX(20);
+		bounds.setX(70);
 		bounds.setY(20);
 		initialStateView.setLayoutConstraint(bounds);
 	}