[pve-devel] [PATCH widget-toolkit] fix syslog resizing
Dominik Csapak
d.csapak at proxmox.com
Tue Jul 2 13:05:43 CEST 2019
makes the logview autosize with the window
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
node/ServiceView.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/node/ServiceView.js b/node/ServiceView.js
index 75c8325..4b206f0 100644
--- a/node/ServiceView.js
+++ b/node/ServiceView.js
@@ -45,10 +45,11 @@ Ext.define('Proxmox.node.ServiceView', {
var win = Ext.create('Ext.window.Window', {
title: gettext('Syslog') + ': ' + rec.data.service,
modal: true,
+ width: 800,
+ height: 400,
+ layout: 'fit',
items: {
xtype: 'proxmoxLogView',
- width: 800,
- height: 400,
url: "/api2/extjs/nodes/" + me.nodename + "/syslog?service=" +
rec.data.service,
log_select_timespan: 1
--
2.20.1
More information about the pve-devel
mailing list