aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-27 11:12:08 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-27 11:12:08 +0500
commit11c64522f22c40876cbd68583898121691541a5d (patch)
treeedfe81c10131755b8bc47cca1f4e3df14ab9c792 /web/app
parenta2b84d023a847f52bf47d29faa843523ae4ac58a (diff)
downloadtraccar-server-11c64522f22c40876cbd68583898121691541a5d.tar.gz
traccar-server-11c64522f22c40876cbd68583898121691541a5d.tar.bz2
traccar-server-11c64522f22c40876cbd68583898121691541a5d.zip
Prevent tagfield growing too much
Diffstat (limited to 'web/app')
-rw-r--r--web/app/Style.js5
-rw-r--r--web/app/view/Report.js2
2 files changed, 6 insertions, 1 deletions
diff --git a/web/app/Style.js b/web/app/Style.js
index 2d6bfa5c3..d047fd96b 100644
--- a/web/app/Style.js
+++ b/web/app/Style.js
@@ -69,5 +69,8 @@ Ext.define('Traccar.Style', {
mapDelay: 500,
coordinatePrecision: 6,
- numberPrecision: 2
+ numberPrecision: 2,
+
+ maxTagfieldWidth: 200,
+ maxTagfieldGrow: 1
});
diff --git a/web/app/view/Report.js b/web/app/view/Report.js
index 9c1d635f7..2ce9137ee 100644
--- a/web/app/view/Report.js
+++ b/web/app/view/Report.js
@@ -45,6 +45,8 @@ Ext.define('Traccar.view.Report', {
html: Strings.reportDevice
}, {
xtype: 'tagfield',
+ maxWidth: Traccar.Style.maxTagfieldWidth,
+ growMax: Traccar.Style.maxTagfieldGrow,
reference: 'deviceField',
store: 'Devices',
valueField: 'id',