aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/AttributeAliases.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/AttributeAliases.js')
-rw-r--r--web/app/view/AttributeAliases.js23
1 files changed, 14 insertions, 9 deletions
diff --git a/web/app/view/AttributeAliases.js b/web/app/view/AttributeAliases.js
index c6934354..6408ad3a 100644
--- a/web/app/view/AttributeAliases.js
+++ b/web/app/view/AttributeAliases.js
@@ -51,13 +51,18 @@ Ext.define('Traccar.view.AttributeAliases', {
selectionchange: 'onSelectionChange'
},
- columns: [{
- text: Strings.sharedAttribute,
- dataIndex: 'attribute',
- flex: 1
- }, {
- text: Strings.sharedAlias,
- dataIndex: 'alias',
- flex: 1
- }]
+ forceFit: true,
+
+ columns: {
+ defaults: {
+ minWidth: Traccar.Style.columnWidthNormal
+ },
+ items: [{
+ text: Strings.sharedAttribute,
+ dataIndex: 'attribute'
+ }, {
+ text: Strings.sharedAlias,
+ dataIndex: 'alias'
+ }]
+ }
});