aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Geofences.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/Geofences.js')
-rw-r--r--web/app/view/Geofences.js23
1 files changed, 14 insertions, 9 deletions
diff --git a/web/app/view/Geofences.js b/web/app/view/Geofences.js
index 0da87d0..3df2160 100644
--- a/web/app/view/Geofences.js
+++ b/web/app/view/Geofences.js
@@ -37,13 +37,18 @@ Ext.define('Traccar.view.Geofences', {
selectionchange: 'onSelectionChange'
},
- columns: [{
- text: Strings.sharedName,
- dataIndex: 'name',
- flex: 1
- }, {
- text: Strings.sharedDescription,
- dataIndex: 'description',
- flex: 1
- }]
+ forceFit: true,
+
+ columns: {
+ defaults: {
+ minWidth: Traccar.Style.columnWidthNormal
+ },
+ items: [{
+ text: Strings.sharedName,
+ dataIndex: 'name'
+ }, {
+ text: Strings.sharedDescription,
+ dataIndex: 'description'
+ }]
+ }
});