From 3ad64fc0aca43d02347fe57566777318583c457e Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 17 Sep 2015 11:02:28 +0200 Subject: [PATCH] Set plot result windows position --- js/app/controllers/PlotModule.js | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) diff --git a/js/app/controllers/PlotModule.js b/js/app/controllers/PlotModule.js index 4688293..36431c7 100644 --- a/js/app/controllers/PlotModule.js +++ b/js/app/controllers/PlotModule.js @@ -94,6 +94,10 @@ Ext.define('amdaDesktop.PlotModule', { }; if (winResult == null) { + + var x = 50 + tabResult.index * 50; + var y = 100 + tabResult.index * 20; + //create new result win var panelResult = new amdaUI.PlotTabResultUI(plotTabConfig); @@ -104,6 +108,8 @@ Ext.define('amdaDesktop.PlotModule', { title : 'Plot '+(tabResult.index+1), width : size.width, height: size.height, + x : x, + y : y, layout: 'fit', items : [ panelResult -- libgit2 0.21.2