Commit 8d29f62b authored by Takumi Fujimoto's avatar Takumi Fujimoto Committed by Commit Bot

[Harmony Cast Dialog] Change the sink list height limit to 6.5 items

Also use the correct button height const to reflect a recent change.

Bug: 881923
Change-Id: I2553c3d8d891a25b981edce8f0578e516d7ebe43
Reviewed-on: https://chromium-review.googlesource.com/c/1327557Reviewed-by: default avatarBrandon Tolsch <btolsch@chromium.org>
Commit-Queue: Takumi Fujimoto <takumif@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606678}
parent ba353393
......@@ -273,8 +273,8 @@ void CastDialogView::ShowScrollView() {
}
scroll_view_ = new views::ScrollView();
AddChildView(scroll_view_);
constexpr int kSinkButtonHeight = 50;
scroll_view_->ClipHeightTo(0, kSinkButtonHeight * 10);
constexpr int kSinkButtonHeight = 56;
scroll_view_->ClipHeightTo(0, kSinkButtonHeight * 6.5);
}
void CastDialogView::RestoreSinkListState() {
......
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