diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-27 18:26:02 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-27 18:26:02 +1200 |
commit | 0a37aa711a6aab95ae69b70e5105057eb379e316 (patch) | |
tree | edfe81c10131755b8bc47cca1f4e3df14ab9c792 /web/app | |
parent | a2b84d023a847f52bf47d29faa843523ae4ac58a (diff) | |
parent | 11c64522f22c40876cbd68583898121691541a5d (diff) | |
download | trackermap-server-0a37aa711a6aab95ae69b70e5105057eb379e316.tar.gz trackermap-server-0a37aa711a6aab95ae69b70e5105057eb379e316.tar.bz2 trackermap-server-0a37aa711a6aab95ae69b70e5105057eb379e316.zip |
Merge pull request #2262 from Abyss777/reports_web3
Prevent Device tagfield growing too much
Diffstat (limited to 'web/app')
-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', |