瀏覽代碼

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 年之前
父節點
當前提交
0c06b04210
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/ui/ButtonManager.java

+ 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
 		if (!(GraphDisplayManager.getCurrentLayer().equals(Layer.MAPPING))) {
-			controller.rightSide.getChildren().add(controller.updateButtonAPane);
+			controller.rightSide.getChildren().add(2,controller.updateButtonAPane);
 			controller.metricbox.setVisible(true);
 		}