Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
6fe84760 by Cédric Krier at 2023-01-25T00:28:00+01:00
Set width on numeric input instead of the input group

Closes #12037
- - - - -


1 changed file:

- sao/src/view/form.js


Changes:

=====================================
sao/src/view/form.js
=====================================
@@ -2009,7 +2009,8 @@
                 record = this.record;
             var value = '';
             if (this.width !== null){
-                this.el.css('width', this.width + 'ch');
+                this.input_text.css('width', this.width + 'ch');
+                this.input.css('width', (this.width + 5) + 'ch');
             }
             if (field) {
                 value = field.get_client(record, this.factor, this.grouping);



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/6fe84760e3821fc3a5651bbdb94118e0319311a7

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/6fe84760e3821fc3a5651bbdb94118e0319311a7
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to