summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2019-07-11 12:45:15 +0000
committerGéry Debongnie <ged@odoo.com>2019-07-24 14:05:02 +0000
commit5c340913616a301060769a1503733a6ed1a86852 (patch)
treed3dd13ac46d4c0eecddca4fd46487d7f04a01353 /doc/reference
parent4d0f36ac01b7a68d3ed0669f6e26f6a508bcbf36 (diff)
[FIX] web: improve editable list column widths
Changed the way some field types are displayed. Before this commit, column width in a list were calculated according to a given factor (integer), determining their weight. Now, some specific fields have an hardcoded width instead. This task also slightly tweaks some width factors, in order to try to have a better layout in most list views Task 1985916 closes odoo/odoo#35147 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/views.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index b3504add3c1..0d7ee948ffc 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -331,7 +331,8 @@ Possible children elements of the list view are:
``width_factor`` (for ``editable``)
the column relative width (as the layout is fixed)
``width`` (for ``editable``)
- the column width (as the layout is fixed)
+ the column width (as the layout is fixed). It is a string describing the
+ width css property, such as '100px'.
.. note:: if the list view is ``editable``, any field attribute from the
:ref:`form view <reference/views/form>` is also valid and will