summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2019-08-09 08:07:55 +0000
committerAaron Bohy <aab@odoo.com>2019-08-23 06:28:34 +0000
commitbf3c1d3e0c2cb9f6ed560994d24de026c080aa01 (patch)
treec0f38a904ad368b62276d519d53fbc9aee48811e /addons/web/static/src/js/fields/basic_fields.js
parent43ad74798fd971e2c514b67a0f706b8e65165843 (diff)
[IMP] web: editable list: column's widths
This rev. refines the way we compute column's widths in editable list views. When there are displayed records, we let the browser compute the width of each column (which is thus optimal with respect to the content), and we then freeze those widths s.t. it doesn't flicker when we switch a row in edition. When there is no record, we keep the former heuristic based on absolute and relative widths (depending on field types). However, we set the same weight for all fields having a relative width (i.e. all but boolean, date(time) and numeric), such that the remaining space is evenly distributed between them. Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions