aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDevices.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-13 02:54:37 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-13 02:54:37 +1300
commit1db0f3fce321a6f22da47998a53f6a5bf7bc7b36 (patch)
treea2216172075743a03f05733d7d1ba0622534c010 /web/app/view/UserDevices.js
parent2f1a58642ff7fc17cf026fa1b03b179b4658c08e (diff)
downloadtrackermap-web-1db0f3fce321a6f22da47998a53f6a5bf7bc7b36.tar.gz
trackermap-web-1db0f3fce321a6f22da47998a53f6a5bf7bc7b36.tar.bz2
trackermap-web-1db0f3fce321a6f22da47998a53f6a5bf7bc7b36.zip
Use flex instead of forceFit
Diffstat (limited to 'web/app/view/UserDevices.js')
-rw-r--r--web/app/view/UserDevices.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/view/UserDevices.js b/web/app/view/UserDevices.js
index 1f68a29a..92f569e7 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'
}]
}