diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-08 12:04:28 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-08 12:04:28 +1300 |
commit | 11c8c039cc8c5a1948281f410bdb440d5a9f1608 (patch) | |
tree | c10465b8dc779fbc24da7e0038d555bf16d9b23e /web/app/view/UserDevices.js | |
parent | 0c68417e4a15051240cd724bb5f12fe0fc39c1de (diff) | |
download | trackermap-web-11c8c039cc8c5a1948281f410bdb440d5a9f1608.tar.gz trackermap-web-11c8c039cc8c5a1948281f410bdb440d5a9f1608.tar.bz2 trackermap-web-11c8c039cc8c5a1948281f410bdb440d5a9f1608.zip |
Specify min width for columns
Diffstat (limited to 'web/app/view/UserDevices.js')
-rw-r--r-- | web/app/view/UserDevices.js | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/web/app/view/UserDevices.js b/web/app/view/UserDevices.js index f5731347..1f68a29a 100644 --- a/web/app/view/UserDevices.js +++ b/web/app/view/UserDevices.js @@ -36,13 +36,17 @@ Ext.define('Traccar.view.UserDevices', { beforeselect: 'onBeforeSelect' }, - columns: [{ - text: Strings.sharedName, - dataIndex: 'name', - flex: 1 - }, { - text: Strings.deviceIdentifier, - dataIndex: 'uniqueId', - flex: 1 - }] + forceFit: true, + + columns: { + items: [{ + text: Strings.sharedName, + minWidth: Traccar.Style.columnWidthNormal, + dataIndex: 'name' + }, { + text: Strings.deviceIdentifier, + minWidth: Traccar.Style.columnWidthNormal, + dataIndex: 'uniqueId' + }] + } }); |