diff --git a/js/app/controllers/AstroImagesModule.js b/js/app/controllers/AstroImagesModule.js index 324dac4..810d90b 100644 --- a/js/app/controllers/AstroImagesModule.js +++ b/js/app/controllers/AstroImagesModule.js @@ -33,7 +33,8 @@ Ext.define('amdaDesktop.AstroImagesModule', { title:this.title, layout: 'fit', width:650, - height:600, + height:600, + minHeight: 600, modal: true, iconCls: this.icon, animCollapse:false, @@ -75,6 +76,7 @@ Ext.define('amdaDesktop.AstroImagesModule', { { fn : function(o) { + win.doLayout(); var astrotabsUI = win.queryById('astrotabs'); astrotabsUI.setActiveTab(apisPanel); hstPanel.forceRefresh(); @@ -87,4 +89,4 @@ Ext.define('amdaDesktop.AstroImagesModule', { win.show(); return win; } -}); \ No newline at end of file +}); diff --git a/js/app/views/AstroImagesUI.js b/js/app/views/AstroImagesUI.js index 9e4be8c..489637e 100644 --- a/js/app/views/AstroImagesUI.js +++ b/js/app/views/AstroImagesUI.js @@ -614,7 +614,8 @@ Ext.define('amdaUI.AstroImagesUI', { listeners: { // Change content dynamically depending on which element triggered the show. beforeshow: function (tip) - { + { + view = tree.getView(); record = view.getRecord(tip.triggerElement); if (record) { @@ -721,4 +722,4 @@ Ext.define('amdaUI.AstroImagesUI', { }; Ext.apply (this , Ext.apply (arguments, myConf)); } -}); \ No newline at end of file +}); -- libgit2 0.21.2