From a6dc2ad67d4c799e024d25bbc69fddfe9d84a07f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 5 Nov 2016 00:20:26 +1300 Subject: Make dialogs scrollable if too big --- web/app/view/BaseDialog.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'web/app/view/BaseDialog.js') diff --git a/web/app/view/BaseDialog.js b/web/app/view/BaseDialog.js index 05ffbbe..8d83224 100644 --- a/web/app/view/BaseDialog.js +++ b/web/app/view/BaseDialog.js @@ -18,7 +18,9 @@ Ext.define('Traccar.view.BaseDialog', { extend: 'Ext.window.Window', - bodyPadding: Traccar.Style.panelPadding, + bodyPadding: Traccar.Style.normalPadding, resizable: false, - modal: true + modal: true, + maxHeight: screen.height ? screen.height - Traccar.Style.normalPadding * 2 : null, + autoScroll: true }); -- cgit v1.2.3