diff options
Diffstat (limited to 'web/app/view/Users.js')
-rw-r--r-- | web/app/view/Users.js | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/web/app/view/Users.js b/web/app/view/Users.js index 28581c59..f4b27337 100644 --- a/web/app/view/Users.js +++ b/web/app/view/Users.js @@ -66,17 +66,21 @@ Ext.define('Traccar.view.Users', { selectionchange: 'onSelectionChange' }, - columns: [{ - text: Strings.sharedName, - dataIndex: 'name', - flex: 1 - }, { - text: Strings.userEmail, - dataIndex: 'email', - flex: 1 - }, { - text: Strings.userAdmin, - dataIndex: 'admin', - flex: 1 - }] + forceFit: true, + + columns: { + defaults: { + minWidth: Traccar.Style.columnWidthNormal + }, + items: [{ + text: Strings.sharedName, + dataIndex: 'name' + }, { + text: Strings.userEmail, + dataIndex: 'email' + }, { + text: Strings.userAdmin, + dataIndex: 'admin' + }] + } }); |