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