Forráskód Böngészése

Fixed wrong layout of update button in mapping

- now passing an index when adding update button back to the children of
VBox righSide.
Julian Ohl 8 éve
szülő
commit
0c06b04210

+ 1 - 1
scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/ui/ButtonManager.java

@@ -191,7 +191,7 @@ public final class ButtonManager {
 
 
 		// show metricbox/update button
 		// show metricbox/update button
 		if (!(GraphDisplayManager.getCurrentLayer().equals(Layer.MAPPING))) {
 		if (!(GraphDisplayManager.getCurrentLayer().equals(Layer.MAPPING))) {
-			controller.rightSide.getChildren().add(controller.updateButtonAPane);
+			controller.rightSide.getChildren().add(2,controller.updateButtonAPane);
 			controller.metricbox.setVisible(true);
 			controller.metricbox.setVisible(true);
 		}
 		}