Commit 21017aed authored by Peter Kasting's avatar Peter Kasting Committed by Commit Bot

Refresh tabs were 1 DIP wider than spec due to the overlap change.

Bug: none
Change-Id: Ice0fed66fd7176a3b6ae5b356e20a01d839bb30e
Reviewed-on: https://chromium-review.googlesource.com/1137484Reviewed-by: default avatarAllen Bauer <kylixrd@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575343}
parent 0ecd2352
......@@ -1143,7 +1143,9 @@ int Tab::GetMinimumActiveWidth() {
// static
int Tab::GetStandardWidth() {
constexpr int kLayoutWidth[] = {193, 193, 245, 240, 240};
constexpr int kRefreshTabWidth = 240 - kSeparatorThickness;
constexpr int kLayoutWidth[] = {193, 193, 245, kRefreshTabWidth,
kRefreshTabWidth};
return GetOverlap() + kLayoutWidth[MD::GetMode()];
}
......
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