Chromium Code Reviews
DescriptionBug Fix: ScrollView Shows Unnecessary Scrollbar
1. For bounded ScrollView, if its content view does not call SetSize() explicitly in the Layout() implementation, horizontal scroll bar will always be visible even if no overflow.
2. With |hide_horizontal_scrollbar_| set to true, we may find that the vertical bar visible when the content height is equal to the container height.
This CL fixes the bugs.
BUG=644463
Committed: https://crrev.com/8234584f65628f5f8c43341eaaa94dd0b1681f50
Cr-Commit-Position: refs/heads/master@{#417704}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Unittest #
Messages
Total messages: 16 (9 generated)
|
|||||||||||||||||||||||||||||||||||||