Chromium Code Reviews| Index: ui/app_list/views/search_box_view.cc |
| diff --git a/ui/app_list/views/search_box_view.cc b/ui/app_list/views/search_box_view.cc |
| index 07979ba456915f174a5b6878c8043e3b5709828d..c12eaa8f70a7ab3b9d2e7e41b7d10b2df760ea4f 100644 |
| --- a/ui/app_list/views/search_box_view.cc |
| +++ b/ui/app_list/views/search_box_view.cc |
| @@ -94,8 +94,11 @@ SearchBoxView::SearchBoxView(SearchBoxViewDelegate* delegate, |
| AddChildView(icon_view_); |
| } |
| - views::BoxLayout* layout = new views::BoxLayout( |
| - views::BoxLayout::kHorizontal, kPadding, 0, kPadding); |
| + views::BoxLayout* layout = |
| + new views::BoxLayout(views::BoxLayout::kHorizontal, |
| + kPadding, |
| + 0, |
| + kPadding - views::Textfield::kTextPadding); |
|
calamity
2014/09/08 03:37:50
This will change the horizontal spacing of everyth
Peter Kasting
2014/09/08 17:45:59
Practically-speaking, what's the problematic effec
calamity
2014/09/09 00:46:38
I see. In that case, we should leave the code as i
Peter Kasting
2014/09/09 01:33:29
But the textfield padding is increasing. Compensa
calamity
2014/09/09 02:34:32
Ah ok. Yeah. It will reduce that padding. At the m
|
| SetLayoutManager(layout); |
| layout->set_cross_axis_alignment( |
| views::BoxLayout::CROSS_AXIS_ALIGNMENT_CENTER); |