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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm

Issue 2789613002: [Mac] Fix bookmark bar no item container autoresizing mask (Closed)
Patch Set: Created 3 years, 9 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/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
index 959b844c8ae0b4643798afc7eb3acb19fc008fdc..3604818ed787afe6e52b0cb73a54a85b895fb104 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
@@ -84,6 +84,7 @@ static const CGFloat kTextFieldTrailingPadding = 5;
[[NSView alloc] initWithFrame:NSMakeRect(0, 0, kInitialContainerWidth,
kInitialContainerHeight)]);
[noItemContainer_ setAutoresizingMask:NSViewMaxXMargin];
+ [noItemContainer_ setAutoresizingMask:NSViewWidthSizable];
noItemTextfield_.reset([[NSTextField alloc]
initWithFrame:NSMakeRect(kInitialTextFieldXOrigin,
« 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