Issue 9706

Title
Unecessary horizontal scroll on group with number field
Priority
bug
Status
resolved
Nosy list
ced, pokoli, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2020-10-09.22:56:11 by ced, last changed 1 month ago by roundup-bot.

Messages

New changeset 156fc4a78eb7 by Cédric Krier in branch 'default':
Set minimal width of input in ch
https://hg.tryton.org/tryton-env/rev/156fc4a78eb7
New changeset 88a6e5db8b62 by Cédric Krier in branch 'default':
Set minimal width of input in ch
https://hg.tryton.org/sao/rev/88a6e5db8b62
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-10-13.12:55:04
On 2020-10-13 12:33, Sergi Almacellas Abellana wrote:
> I get exactly the same result (scroll is shown) with the last patchset.

I tested on Firefox and Chrome and it is fixed here.
I guess you have not the proper css loaded.
Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2020-10-13.12:33:16
I get exactly the same result (scroll is shown) with the last patchset.
Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2020-10-13.10:14:23
Firefox 81 on the sale form with any screen size (i tested using my wide screen but also laptop with HiDPI and MDPI modes in responsive view)
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-10-12.19:59:47
Which browser? Version?
And on which view? With which screen size?
Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2020-10-12.19:11:45
I still see the scrollbar with the proposed patch applied
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-10-09.22:56:11
Since rev 1fd07aa2bb3f the group has an horizontal scrollbar as seen on sale, purchase or invoice form (on the total group).
Indeed this is due to the fixed width of the number field and the 100% width of the other col. I guess the col size are computed when the number field has a different width then it is increased which create an overflow.
History
Date User Action Args
2020-10-21 23:13:56roundup-botsetmessages: + msg61125
2020-10-21 23:13:53roundup-botsetmessages: + msg61124
nosy: + roundup-bot
status: testing -> resolved
2020-10-13 12:55:04cedsetmessages: + msg60923
2020-10-13 12:33:16pokolisetmessages: + msg60921
2020-10-13 11:11:39reviewbotsetmessages: + msg60919
2020-10-13 10:14:23pokolisetmessages: + msg60917
2020-10-12 19:59:47cedsetmessages: + msg60888
2020-10-12 19:11:45pokolisetnosy: + pokoli
messages: + msg60880
2020-10-12 18:42:29cedlinkissue9711 superseder
2020-10-09 23:23:33reviewbotsetnosy: + reviewbot
messages: + msg60754
2020-10-09 22:58:19cedsetstatus: in-progress -> testing
reviews: 318481002
keyword: + review
2020-10-09 22:56:11cedcreate