Commit 7d19de2e authored by Charlene Yan's avatar Charlene Yan Committed by Commit Bot

[Tab Scrolling] Remove flex weight on the tab scrolling container.

This weight is not yet supported on flex layout.

Change-Id: I1feedb55eece8fa7b7a7d5a92d06021f051d2aaa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429648
Auto-Submit: Charlene Yan <cyan@chromium.org>
Commit-Queue: Charlene Yan <cyan@chromium.org>
Commit-Queue: Dana Fried <dfried@chromium.org>
Reviewed-by: default avatarDana Fried <dfried@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810472}
parent e63373a2
......@@ -39,8 +39,7 @@ TabStripRegionView::TabStripRegionView(std::unique_ptr<TabStrip> tab_strip) {
const views::FlexSpecification tab_strip_container_flex_spec =
views::FlexSpecification(views::LayoutOrientation::kHorizontal,
views::MinimumFlexSizeRule::kScaleToZero,
views::MaximumFlexSizeRule::kUnbounded)
.WithWeight(0);
views::MaximumFlexSizeRule::kUnbounded);
tab_strip_container_->SetProperty(views::kFlexBehaviorKey,
tab_strip_container_flex_spec);
......
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