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

Issue 842005: Bookmark bar menu/folder button text is left-aligned, not centered.... (Closed)

Created:
10 years, 9 months ago by John Grabowski
Modified:
9 years, 6 months ago
Reviewers:
Nico, Miranda Callahan
CC:
chromium-reviews, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org, TVL
Visibility:
Public.

Description

Bookmark bar menu/folder button text is left-aligned, not centered. Bookmark bar menu/folder maximum window width is now 1000, not 150. High cosmetic impact. BUG=36487, 17608 TEST=\ 1) Add bookmarks on the bar with small (e.g. 'x') and big titles. Make sure all looks OK (e.g. small ones are small.) 2) Add bookmarks in a folder. Make sure text is left aligned on the menus. 3) Add bookmarks in a folder with long names (e.g. 100 characters). Make sure folder/menus are now much wider. 4) Add bookmarks in a folder with mega long names (e.g. 4000 characters). Make sure menus have a maximum size of ~1000 pixes (no need to be exact but 'no limit' is fail). 5) In a folder, add a subfolder named 'x' and a bookmark with a REAL long name. Make sure the "button" (menu item) is the full width of the menu. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41387

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -24 lines) Patch
M chrome/browser/cocoa/bookmark_bar_controller.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_folder_controller.mm View 1 2 4 chunks +57 lines, -20 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm View 4 chunks +31 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/bookmark_button_cell.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
John Grabowski
10 years, 9 months ago (2010-03-12 02:17:17 UTC) #1
Miranda Callahan
LGTM. http://codereview.chromium.org/842005/diff/3001/4003 File chrome/browser/cocoa/bookmark_bar_folder_controller.mm (right): http://codereview.chromium.org/842005/diff/3001/4003#newcode93 chrome/browser/cocoa/bookmark_bar_folder_controller.mm:93: // Adjusts the input frame with as appropriate. ...
10 years, 9 months ago (2010-03-12 02:24:29 UTC) #2
Nico
LG. Minor nits below. http://codereview.chromium.org/842005/diff/3001/4003 File chrome/browser/cocoa/bookmark_bar_folder_controller.mm (right): http://codereview.chromium.org/842005/diff/3001/4003#newcode109 chrome/browser/cocoa/bookmark_bar_folder_controller.mm:109: bookmarks::kBookmarkMenuButtonMaximumWidth); I wish we had ...
10 years, 9 months ago (2010-03-12 02:28:35 UTC) #3
John Grabowski
10 years, 9 months ago (2010-03-12 03:11:54 UTC) #4
All feedback applied.  Thanks guys.

Powered by Google App Engine
This is Rietveld 408576698