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/UserDevices.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'web/app/view/UserDevices.js') diff --git a/web/app/view/UserDevices.js b/web/app/view/UserDevices.js index 1f68a29..92f569e 100644 --- a/web/app/view/UserDevices.js +++ b/web/app/view/UserDevices.js @@ -36,16 +36,16 @@ Ext.define('Traccar.view.UserDevices', { beforeselect: 'onBeforeSelect' }, - forceFit: true, - columns: { + defaults: { + flex: 1, + minWidth: Traccar.Style.columnWidthNormal + }, items: [{ text: Strings.sharedName, - minWidth: Traccar.Style.columnWidthNormal, dataIndex: 'name' }, { text: Strings.deviceIdentifier, - minWidth: Traccar.Style.columnWidthNormal, dataIndex: 'uniqueId' }] } -- cgit v1.2.3