Chromium Code Reviews
DescriptionFixed that the column header of file list placed incorrectly after double click on separator.
This issue was caused by that while the columns were rendered with display:flex,
splitters used (-webkit-)margin-start with column width in column_model to set their positions.
When total width of columns exceeds width of a table, rendered width becomes different from width in column_model due to display:flex.
Fixed this by keeping total width with calling setWidthAndKeepTotal instead of setWidth.
BUG=408035
TEST=Narrow window so that at least file name is cropped; Double click the header's separator at the right side of Name column.
Committed: https://crrev.com/bf6897a84c8a7f08e4c2cd8506b833d93a504ab8
Cr-Commit-Position: refs/heads/master@{#298206}
Patch Set 1 #
Messages
Total messages: 11 (2 generated)
|
|||||||||||||||||||