Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(976)

Unified Diff: mash/wm/shelf_layout.cc

Issue 1573303002: Fix mash shelf height. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/shelf_layout.cc
diff --git a/mash/wm/shelf_layout.cc b/mash/wm/shelf_layout.cc
index 1b341cc728724d186ceca44aef83f60818910831..c2fe1bac6cee854a2b18137677ec2218cdc53297 100644
--- a/mash/wm/shelf_layout.cc
+++ b/mash/wm/shelf_layout.cc
@@ -28,6 +28,7 @@ void ShelfLayout::LayoutWindow(mus::Window* window) {
gfx::Rect container_bounds = owner()->bounds();
container_bounds.set_origin(
gfx::Point(0, container_bounds.height() - preferred_size.height()));
+ container_bounds.set_height(preferred_size.height());
window->SetBounds(container_bounds);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698