Index: athena/home/bottom_home_view.cc |
diff --git a/athena/home/bottom_home_view.cc b/athena/home/bottom_home_view.cc |
index c05bbf496e8453481b6dd41917232ba3dffff040..98cbc13042fef8ef6c6ada2c6b9d9730454dcf55 100644 |
--- a/athena/home/bottom_home_view.cc |
+++ b/athena/home/bottom_home_view.cc |
@@ -30,8 +30,7 @@ BottomHomeView::BottomHomeView(app_list::AppListViewDelegate* view_delegate) |
views::BoxLayout* items_layout = new views::BoxLayout( |
views::BoxLayout::kHorizontal, 0, 0, 0); |
- items_layout->set_main_axis_alignment( |
- views::BoxLayout::MAIN_AXIS_ALIGNMENT_FILL); |
+ items_layout->SetDefaultFlex(1); |
items_container->SetLayoutManager(items_layout); |
for (size_t i = 0; i < top_level->item_count(); ++i) { |
app_list::TileItemView* tile_item_view = new app_list::TileItemView(); |