mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-11 19:13:57 +00:00
fix syslog resizing
makes the logview autosize with the window Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
7d0340d701
commit
8093ded0c3
@ -45,10 +45,11 @@ Ext.define('Proxmox.node.ServiceView', {
|
|||||||
var win = Ext.create('Ext.window.Window', {
|
var win = Ext.create('Ext.window.Window', {
|
||||||
title: gettext('Syslog') + ': ' + rec.data.service,
|
title: gettext('Syslog') + ': ' + rec.data.service,
|
||||||
modal: true,
|
modal: true,
|
||||||
|
width: 800,
|
||||||
|
height: 400,
|
||||||
|
layout: 'fit',
|
||||||
items: {
|
items: {
|
||||||
xtype: 'proxmoxLogView',
|
xtype: 'proxmoxLogView',
|
||||||
width: 800,
|
|
||||||
height: 400,
|
|
||||||
url: "/api2/extjs/nodes/" + me.nodename + "/syslog?service=" +
|
url: "/api2/extjs/nodes/" + me.nodename + "/syslog?service=" +
|
||||||
rec.data.service,
|
rec.data.service,
|
||||||
log_select_timespan: 1
|
log_select_timespan: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user