Skip to content

Commit b8fef70

Browse files
committed
[IMP] studio: setting fixed column width list view
task-n/a closes #15246 X-original-commit: 77afc53 Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com> Signed-off-by: Siobhan McGonigle (mcsi) <mcsi@odoo.com>
1 parent a7239e8 commit b8fef70

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

content/applications/studio/views.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,19 @@ records, and edit simple records.
165165
be executed from the dropdown list;
166166
- :guilabel:`Call a method`: specify an existing Python method already defined in Odoo.
167167

168+
The widths of columns in a :guilabel:`List` :icon:`oi-view-list` view are computed automatically to
169+
provide the optimal user experience. However, it is also possible to set a fixed column width per
170+
field. To do so, click on the relevant column to open the field's :icon:`fa-server`
171+
:guilabel:`Properties` tab, then enter the desired number of pixels in the :guilabel:`Column Width
172+
(px)` field.
173+
168174
.. tip::
169-
To add a :icon:`oi-draggable` (:guilabel:`drag handle`) icon to reorder records manually, add an
170-
:ref:`Integer field <studio/fields/simple-fields-integer>` with the :guilabel:`Handle` widget.
175+
To add a :icon:`oi-draggable` (:guilabel:`drag handle`) icon to reorder records manually, add
176+
an :ref:`Integer field <studio/fields/simple-fields-integer>` with the :guilabel:`Handle`
177+
widget.
171178

172-
.. image:: views/list-drag-handle.png
173-
:alt: Drag handle icon enabling to sort records manually in List view
179+
.. image:: views/list-drag-handle.png
180+
:alt: Drag handle icon enabling to sort records manually in List view
174181

175182
.. example::
176183

0 commit comments

Comments
 (0)