Chromium Code Reviews
Descriptioncr.ui.Grid: Consider padding to determine the number of columns in a row.
padding-left and padding-right should be subtracted from clientWidth to measure
the available width for grid items.
BUG=453764
TEST=adjust window width of Files.app and check that the problem doesn't occur.
Committed: https://crrev.com/63c50e8e43e8167dc1b570e2905827f6890c6408
Cr-Commit-Position: refs/heads/master@{#317169}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Address review comments. #
Total comments: 2
Patch Set 3 : Add a comment about calculation of the number of columns. #Patch Set 4 : Move the padding-measuring code to updateMetrics_. #Messages
Total messages: 19 (5 generated)
|