mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 08:26:08 +00:00
fix layout
This commit is contained in:
parent
c916497537
commit
c452ded323
@ -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', {
|
|||||||
|
|
||||||
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 ]
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user