Commit 91d21328 authored by Chris Lu's avatar Chris Lu Committed by Commit Bot

[ios] Increase Spacing in ClearBrowsingDataTableView Rows.

Before Screenshot: https://drive.google.com/file/d/18YJwgnQAsZ2c0YV2fDVx_p8oDwOPAUPy/view?usp=sharing
After Screenshot: https://drive.google.com/file/d/1_V8gJ9lD76oCwC95T-_ZK16ThncguFnI/view?usp=sharing

Change-Id: I7d57917ae1e330c6d109d5676b84eb5d87f3ff2d
Reviewed-on: https://chromium-review.googlesource.com/1114140Reviewed-by: default avatarSergio Collazos <sczs@chromium.org>
Commit-Queue: Chris Lu <thegreenfrog@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570268}
parent d22ea4a9
......@@ -13,7 +13,7 @@ extern const CGFloat kTableViewHeaderFooterViewHeight;
// The horizontal spacing between views and the container view of a cell.
extern const CGFloat kTableViewHorizontalSpacing;
// The vertical spacing between views and the container view of a cell
// The vertical spacing between views and the container view of a cell.
extern const CGFloat kTableViewVerticalSpacing;
// The horizontal spacing between subviews within the container view.
......
......@@ -13,6 +13,11 @@
#error "This file requires ARC support."
#endif
namespace {
// Vertical spacing between label and the container view of a cell.
const CGFloat kLabelCellVerticalSpacing = 11.0;
} // namespace
#pragma mark - TableViewTextItem
@implementation TableViewTextItem
......@@ -78,10 +83,10 @@
constraintEqualToAnchor:self.contentView.leadingAnchor
constant:kTableViewHorizontalSpacing],
[_textLabel.topAnchor constraintEqualToAnchor:self.contentView.topAnchor
constant:kTableViewVerticalSpacing],
constant:kLabelCellVerticalSpacing],
[_textLabel.bottomAnchor
constraintEqualToAnchor:self.contentView.bottomAnchor
constant:-kTableViewVerticalSpacing],
constant:-kLabelCellVerticalSpacing],
[_textLabel.trailingAnchor
constraintEqualToAnchor:self.contentView.trailingAnchor
constant:-kTableViewHorizontalSpacing]
......
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