diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 01:14:08 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 01:14:08 +0000 |
commit | 97cbc718a71a537003fdd1579d4a9760edf7a8a1 (patch) | |
tree | 131855d7ffe066f6b828d4448feac97eae50c77a | |
parent | a3b6d648f9d318e18df83795bac9418e11d1f50b (diff) | |
download | chromium_src-97cbc718a71a537003fdd1579d4a9760edf7a8a1.zip chromium_src-97cbc718a71a537003fdd1579d4a9760edf7a8a1.tar.gz chromium_src-97cbc718a71a537003fdd1579d4a9760edf7a8a1.tar.bz2 |
app_list: Fix search result view overlap in RTL.
BUG=148791
TEST=Verify search result shows up without overlapping in RTL.
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11096004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160760 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ui/app_list/search_result_view.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app_list/search_result_view.cc b/ui/app_list/search_result_view.cc index f4f3a97..321b3a5b 100644 --- a/ui/app_list/search_result_view.cc +++ b/ui/app_list/search_result_view.cc @@ -209,6 +209,8 @@ void SearchResultView::OnPaint(gfx::Canvas* canvas) { rect.width() - kIconViewWidth - kTextTrailPadding - action_buttons_.size() * kActionButtonWidth - (!action_buttons_.empty() ? kActionButtonRightMargin : 0)); + text_bounds.set_x(GetMirroredXWithWidthInView(text_bounds.x(), + text_bounds.width())); if (title_text_.get() && details_text_.get()) { gfx::Size title_size(text_bounds.width(), |