Fix apps container layout after app list config change
After app list config change, the apps container was not clearing cached margins for current app list bounds, even though they depended on the app list config. So if app list config was updated after bounds change (and the associated layout), the apps container was getting laid out using obsolete apps container margins. This cl fixes the issue. Also, when AppListView updates the widget bounds (e.g. because the display, and thus root window bounds change), update app list config before setting new bounds, so the app list uses the new config while laying out the app list view for bounds change (and avoid another pass for the app list config update). BUG=1053911 Change-Id: Ic6249a86f350c11ba3a2be006368aefba9975719 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067445 Commit-Queue: Toni Baržić <tbarzic@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#743327}
Showing
Please register or sign in to comment