Commit 6f0418b6 authored by Dietmar Maurer's avatar Dietmar Maurer

fix layout

parent 82f9a5d7
...@@ -94,8 +94,6 @@ Ext.define('PVE.storage.TemplateDownload', { ...@@ -94,8 +94,6 @@ Ext.define('PVE.storage.TemplateDownload', {
var me = this; var me = this;
var grid = Ext.create('PVE.grid.TemplateSelector', { var grid = Ext.create('PVE.grid.TemplateSelector', {
width: 600,
height: 400,
border: false, border: false,
autoScroll: true, autoScroll: true,
nodename: me.nodename nodename: me.nodename
...@@ -133,6 +131,9 @@ Ext.define('PVE.storage.TemplateDownload', { ...@@ -133,6 +131,9 @@ Ext.define('PVE.storage.TemplateDownload', {
Ext.applyIf(me, { Ext.applyIf(me, {
title: gettext('Template download'), title: gettext('Template download'),
layout: 'fit',
width: 600,
height: 400,
items: grid, items: grid,
buttons: [ submitBtn ] buttons: [ submitBtn ]
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment