Commit 7d5c54f6 authored by Jazz Xu's avatar Jazz Xu Committed by Commit Bot

CrOS GMC: Fix drop down icon layout bug.

This CL fix the drop down icon layout bug: the title view should not
take all the empty spaces.

Bug: 1133026
Change-Id: I1b6f85c84d03fd06bd219fef06ca49319d700408
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2442089
Auto-Submit: Jazz Xu <jazzhsu@chromium.org>
Reviewed-by: default avatarTetsui Ohkubo <tetsui@chromium.org>
Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813133}
parent 41153e56
...@@ -195,7 +195,6 @@ UnifiedMediaControlsView::UnifiedMediaControlsView( ...@@ -195,7 +195,6 @@ UnifiedMediaControlsView::UnifiedMediaControlsView(
AshColorProvider::ContentLayerType::kIconColorPrimary))); AshColorProvider::ContentLayerType::kIconColorPrimary)));
drop_down_icon_ = title_row->AddChildView(std::move(drop_down_icon)); drop_down_icon_ = title_row->AddChildView(std::move(drop_down_icon));
title_row_layout->SetFlexForView(title_label_, 1);
track_column->AddChildView(std::move(title_row)); track_column->AddChildView(std::move(title_row));
auto artist_label = std::make_unique<views::Label>(); auto artist_label = std::make_unique<views::Label>();
......
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