From 4393b012a5417e0964ef11a3ac81496cacd3b812 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Fri, 16 Aug 2019 12:25:44 +0000 Subject: [REF] *,web: list: merge width and width_factor attrs Having two attributes for this was probably overkill. We now have a single attribute 'width' which can specify either a fixed width (e.g. '120px') or a factor (e.g. '2.5'). --- addons/web/static/src/js/fields/basic_fields.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/fields/basic_fields.js') diff --git a/addons/web/static/src/js/fields/basic_fields.js b/addons/web/static/src/js/fields/basic_fields.js index 1466402cc98..a782e128bc7 100644 --- a/addons/web/static/src/js/fields/basic_fields.js +++ b/addons/web/static/src/js/fields/basic_fields.js @@ -1380,7 +1380,7 @@ var HandleWidget = AbstractField.extend({ description: _lt("Handle"), noLabel: true, className: 'o_row_handle fa fa-arrows ui-sortable-handle', - widthFactor: 0, + widthInList: '32px', tagName: 'span', supportedFieldTypes: ['integer'], -- cgit v1.2.3