Commit c6da83c2 authored by Robbie Gibson's avatar Robbie Gibson Committed by Chromium LUCI CQ

[iOS][Thumb Strip] Use constants to calculate thumb strip height

Bug: 1123048
Change-Id: Ie24d51180a741fecf06e03da908cfb6042de087f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2614781Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Commit-Queue: Robbie Gibson <rkgibson@google.com>
Cr-Commit-Position: refs/heads/master@{#841098}
parent 51f2c6e4
......@@ -15,8 +15,10 @@
namespace {
// Height of the view that is revealed. The thumb strip has a height equal to a
// small grid cell + edge insets (top and bottm) from thumb strip layout.
const CGFloat kThumbStripHeight = 168.0f + 22.0f + 22.0f;
// small grid cell + edge insets (top and bottom) from thumb strip layout.
const CGFloat kThumbStripHeight =
kGridCellSizeSmall.height +
2 * kGridLayoutLineSpacingCompactCompactLimitedWidth;
} // namespace
@interface ThumbStripCoordinator ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment