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

Unified Diff: ui/app_list/cocoa/apps_grid_view_item.mm

Issue 15303003: UI Updates for OSX App Launcher: truncate titles, window shadow. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: need to set Created 7 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/cocoa/app_list_window_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/cocoa/apps_grid_view_item.mm
diff --git a/ui/app_list/cocoa/apps_grid_view_item.mm b/ui/app_list/cocoa/apps_grid_view_item.mm
index e09065257b1f1e7df94c847077757df45f404750..0a8dce4c24e275af52d5912f8d6f37877df9be3d 100644
--- a/ui/app_list/cocoa/apps_grid_view_item.mm
+++ b/ui/app_list/cocoa/apps_grid_view_item.mm
@@ -163,6 +163,7 @@ void ItemModelObserverBridge::ItemPercentDownloadedChanged() {
[[prototypeButton cell]
setFont:ui::ResourceBundle::GetSharedInstance().GetFont(
app_list::kItemTextFontStyle).GetNativeFont()];
+ [[prototypeButton cell] setLineBreakMode:NSLineBreakByTruncatingTail];
scoped_nsobject<AppsGridItemBackgroundView> prototypeButtonBackground(
[[AppsGridItemBackgroundView alloc] initWithFrame:NSMakeRect(
« no previous file with comments | « ui/app_list/cocoa/app_list_window_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698