[pve-devel] [PATCH pve-manager] Don't set a fix size for MPResize window

Emmanuel Kasper e.kasper at proxmox.com
Thu Mar 17 10:34:03 CET 2016


Due to the font increase of the Crisp theme,
the text was truncated

Instead of setting manually window size, let the items of the component
freely expend to what they need ( layout 'fit')
---
 www/manager6/lxc/MPResize.js | 2 --
 1 file changed, 2 deletions(-)

diff --git a/www/manager6/lxc/MPResize.js b/www/manager6/lxc/MPResize.js
index ee193df..bcda4b6 100644
--- a/www/manager6/lxc/MPResize.js
+++ b/www/manager6/lxc/MPResize.js
@@ -85,8 +85,6 @@ Ext.define('PVE.window.MPResize', {
 
 	Ext.apply(me, {
 	    modal: true,
-	    width: 250,
-	    height: 150,
 	    border: false,
 	    layout: 'fit',
 	    buttons: [ submitBtn ],
-- 
2.1.4





More information about the pve-devel mailing list