[pve-devel] [PATCH manager] gui: ceph: fix syslog resize

Dominik Csapak d.csapak at proxmox.com
Tue Jul 2 13:06:25 CEST 2019


makes the logview inside resize with the window

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/ceph/ServiceList.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/manager6/ceph/ServiceList.js b/www/manager6/ceph/ServiceList.js
index eb679720..0314ab89 100644
--- a/www/manager6/ceph/ServiceList.js
+++ b/www/manager6/ceph/ServiceList.js
@@ -155,10 +155,11 @@ Ext.define('PVE.node.CephServiceList', {
 	    var win = Ext.create('Ext.window.Window', {
 		title: gettext('Syslog') + ': ' + servicename,
 		modal: true,
+		width: 800,
+		height: 400,
+		layout: 'fit',
 		items: [{
 		    xtype: 'proxmoxLogView',
-		    width: 800,
-		    height: 400,
 		    url: url,
 		    log_select_timespan: 1
 		}]
-- 
2.20.1





More information about the pve-devel mailing list