From 1db0f3fce321a6f22da47998a53f6a5bf7bc7b36 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 13 Feb 2017 02:54:37 +1300 Subject: Use flex instead of forceFit --- web/app/view/UserCalendars.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'web/app/view/UserCalendars.js') diff --git a/web/app/view/UserCalendars.js b/web/app/view/UserCalendars.js index 29bb99cb..119e5805 100644 --- a/web/app/view/UserCalendars.js +++ b/web/app/view/UserCalendars.js @@ -37,12 +37,13 @@ Ext.define('Traccar.view.UserCalendars', { beforeselect: 'onBeforeSelect' }, - forceFit: true, - columns: { + defaults: { + flex: 1, + minWidth: Traccar.Style.columnWidthNormal + }, items: [{ text: Strings.sharedName, - minWidth: Traccar.Style.columnWidthNormal, dataIndex: 'name' }] } -- cgit v1.2.3