commit | 618a7a0e1a572de5b65b036d69115d11fef67136 | [log] [tgz] |
---|---|---|
author | Stepan Khapugin <stkhapugin@chromium.org> | Wed Feb 20 13:38:42 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 20 13:38:42 2019 |
tree | ca238e64aecb22414272b84f6f9144ba54c467b0 | |
parent | 7c36491294fe22b882dc17dc237eedced75b26a7 [diff] |
Update shortcurts' centering insets after the view is properly sized. Shortcuts need to be centered. This is achieved by insetting the cells with a computed amount. This computation used to happen in -viewWillAppear:, but in some cases the containing table view cell is not yet properly sized. So postpone this insetting to -viewDidAppear: Bug: 931210 Change-Id: Ic66a273d5337a442ccb57fda30cf0d8c370052c3 Reviewed-on: https://chromium-review.googlesource.com/c/1475751 Auto-Submit: Stepan Khapugin <stkhapugin@chromium.org> Reviewed-by: Gauthier Ambard <gambard@chromium.org> Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Cr-Commit-Position: refs/heads/master@{#633692}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .