diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-27 11:12:08 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-27 11:12:08 +0500 |
commit | 11c64522f22c40876cbd68583898121691541a5d (patch) | |
tree | edfe81c10131755b8bc47cca1f4e3df14ab9c792 /web | |
parent | a2b84d023a847f52bf47d29faa843523ae4ac58a (diff) | |
download | trackermap-server-11c64522f22c40876cbd68583898121691541a5d.tar.gz trackermap-server-11c64522f22c40876cbd68583898121691541a5d.tar.bz2 trackermap-server-11c64522f22c40876cbd68583898121691541a5d.zip |
Prevent tagfield growing too much
Diffstat (limited to 'web')
-rw-r--r-- | web/app/Style.js | 5 | ||||
-rw-r--r-- | web/app/view/Report.js | 2 |
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', |