]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
fix syslog resizing
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 2 Jul 2019 11:05:43 +0000 (13:05 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 2 Jul 2019 11:29:03 +0000 (13:29 +0200)
makes the logview autosize with the window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
node/ServiceView.js

index 75c832525e63f145a4f17c92cf2f063336de00c2..4b206f098e5360cdb5564b4f35f5fc1aa648a64a 100644 (file)
@@ -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