fix layout

This commit is contained in:
Dietmar Maurer 2012-02-21 12:14:39 +01:00
parent c916497537
commit c452ded323

View File

@ -94,8 +94,6 @@ Ext.define('PVE.storage.TemplateDownload', {
var me = this;
var grid = Ext.create('PVE.grid.TemplateSelector', {
width: 600,
height: 400,
border: false,
autoScroll: true,
nodename: me.nodename
@ -133,6 +131,9 @@ Ext.define('PVE.storage.TemplateDownload', {
Ext.applyIf(me, {
title: gettext('Template download'),
layout: 'fit',
width: 600,
height: 400,
items: grid,
buttons: [ submitBtn ]
});