Commit c1e0f037 authored by Yunke Zhou's avatar Yunke Zhou Committed by Chromium LUCI CQ

Cros login screen: fix scroll issue with login-dev-overlay

Bug: 1112301
Change-Id: I24e68ca470e639c6ad704d0fd268c6a8c98b8731
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2613052Reviewed-by: default avatarDenis Kuznetsov [CET] <antrim@chromium.org>
Commit-Queue: Yunke Zhou <yunkez@google.com>
Cr-Commit-Position: refs/heads/master@{#841035}
parent e7cd3589
...@@ -826,6 +826,9 @@ void LockDebugView::Layout() { ...@@ -826,6 +826,9 @@ void LockDebugView::Layout() {
lock_->SetBoundsRect(GetLocalBounds()); lock_->SetBoundsRect(GetLocalBounds());
container_->SetPosition(gfx::Point()); container_->SetPosition(gfx::Point());
container_->SizeToPreferredSize(); container_->SizeToPreferredSize();
for (views::View* child : container_->children())
child->Layout();
} }
void LockDebugView::AddOrRemoveUsersButtonPressed(int delta) { void LockDebugView::AddOrRemoveUsersButtonPressed(int delta) {
......
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