From 11c8c039cc8c5a1948281f410bdb440d5a9f1608 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 8 Nov 2016 12:04:28 +1300 Subject: Specify min width for columns --- web/app/view/DeviceGeofences.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'web/app/view/DeviceGeofences.js') diff --git a/web/app/view/DeviceGeofences.js b/web/app/view/DeviceGeofences.js index 784583f8..986ca3a4 100644 --- a/web/app/view/DeviceGeofences.js +++ b/web/app/view/DeviceGeofences.js @@ -36,9 +36,13 @@ Ext.define('Traccar.view.DeviceGeofences', { beforeselect: 'onBeforeSelect' }, - columns: [{ - text: Strings.sharedName, - dataIndex: 'name', - flex: 1 - }] + forceFit: true, + + columns: { + items: [{ + text: Strings.sharedName, + minWidth: Traccar.Style.columnWidthNormal, + dataIndex: 'name' + }] + } }); -- cgit v1.2.3