Index: ui/app_list/views/tile_item_view.cc |
diff --git a/ui/app_list/views/tile_item_view.cc b/ui/app_list/views/tile_item_view.cc |
index c12ed2e4812f623e84e95d458b899c33cd91fbb1..408bb229535a0b437eb97d217efc4397066188a1 100644 |
--- a/ui/app_list/views/tile_item_view.cc |
+++ b/ui/app_list/views/tile_item_view.cc |
@@ -14,6 +14,7 @@ |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/color_analysis.h" |
#include "ui/gfx/color_utils.h" |
+#include "ui/views/background.h" |
#include "ui/views/controls/image_view.h" |
#include "ui/views/controls/label.h" |
#include "ui/views/layout/box_layout.h" |
@@ -43,6 +44,8 @@ TileItemView::TileItemView() |
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
title_->SetAutoColorReadabilityEnabled(false); |
title_->SetEnabledColor(kGridTitleColor); |
+ title_->set_background(views::Background::CreateSolidBackground( |
+ app_list::kContentsBackgroundColor)); |
title_->SetFontList(rb.GetFontList(kItemTextFontStyle)); |
title_->SetHorizontalAlignment(gfx::ALIGN_CENTER); |