Chromium Code Reviews
Description[ash-md] Fixed TriView to relayout child Views when their preferred size changed.
Previously TriView child views would be allocated their preferred size
during the TriView layout. However, if a child view's preferred size
later changed it did not trigger a TriView layout and the child view
would not be allocated space based on its new preferred size.
This change fixes it so that a TriView's child will be reallocated space
if its preferred size changes. This will not cause the TriView
container views to be resized when a child views preferred size changes.
BUG=667955
TEST=ash_unittests --gtest_filter=TriViewTest.ChildViewsPreferredSizeChanged
Committed: https://crrev.com/0f07a3024a009d9a367d07a2740a3ac96558ab79
Cr-Commit-Position: refs/heads/master@{#434818}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 15 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||