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

Unified Diff: chrome/browser/gtk/tabs/tab_renderer_gtk.cc

Issue 179022: gtk: Clip the tab title to the content height and not the font height. The f... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/tabs/tab_renderer_gtk.cc
===================================================================
--- chrome/browser/gtk/tabs/tab_renderer_gtk.cc (revision 24758)
+++ chrome/browser/gtk/tabs/tab_renderer_gtk.cc (working copy)
@@ -629,8 +629,7 @@
} else {
title_width = std::max(local_bounds.width() - title_left, 0);
}
- title_bounds_.SetRect(title_left, title_top, title_width,
- title_font_height_);
+ title_bounds_.SetRect(title_left, title_top, title_width, content_height);
}
favicon_bounds_.set_x(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698