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

Unified Diff: ui/app_list/app_list_view.cc

Issue 10383199: app_list: Update colors and sizes for v2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « ui/app_list/app_list_model_view.cc ('k') | ui/app_list/page_switcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_view.cc
diff --git a/ui/app_list/app_list_view.cc b/ui/app_list/app_list_view.cc
index 1b9119911bb192c795c2fb9f32ba0f9f9d2e6e2b..be999f8f25317b0b9d8f7dd9a24f9a2c810d21c2 100644
--- a/ui/app_list/app_list_view.cc
+++ b/ui/app_list/app_list_view.cc
@@ -34,8 +34,6 @@ const float kModelViewAnimationScaleFactor = 0.9f;
const int kPreferredIconDimension = 48;
const int kPreferredCols = 4;
const int kPreferredRows = 4;
-// Padding space in pixels between model view and page switcher footer.
-const int kModelViewFooterPadding = 10;
ui::Transform GetScaleTransform(AppListModelView* model_view) {
gfx::Rect pixel_bounds = model_view->GetLayerBoundsInPixel();
@@ -97,8 +95,7 @@ void AppListView::InitAsBubble(gfx::NativeView parent, views::View* anchor) {
bubble_style_ = true;
set_background(NULL);
- SetLayoutManager(new views::BoxLayout(
- views::BoxLayout::kVertical, 0, 0, kModelViewFooterPadding));
+ SetLayoutManager(new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0));
model_view_ = new AppListModelView(this, pagination_model_.get());
model_view_->SetLayout(kPreferredIconDimension,
« no previous file with comments | « ui/app_list/app_list_model_view.cc ('k') | ui/app_list/page_switcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698