diff options
| author | Aaron Bohy <aab@odoo.com> | 2020-01-30 11:23:57 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-01-30 12:57:35 +0000 |
| commit | 23490fc22fbd0174ace5558c9509b1bb856e03d2 (patch) | |
| tree | d77067ef3be22c660451ec8684bdd70c8ddced85 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | b0500b68585b87dcd6e07275fdafed8e50bc40f0 (diff) | |
[IMP] web: web_ribbon: handle longer labels
This commit implements a simple heuristic to display longer texts
inside the web_ribbon widget: we adapt the font size according to
the text length, and we tolerate to display it on several lines.
This commit also allows to specify a tooltip in the xml (with
tooltip attribute).
Task 2185023
closes odoo/odoo#44279
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
