[rAC, OSX] Fix field alignment.
commitdf19270552e15335f95dbe0182e0f5b604a4d57e
authorgroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 3 Feb 2014 22:48:31 +0000 (3 22:48 +0000)
committergroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 3 Feb 2014 22:48:31 +0000 (3 22:48 +0000)
tree5bafba5b3a53d9d0d11c73c9ab8f1d93fe2f8734
parent4a2c50011d2b4c02537e3c0450df8e14b8818d1b
[rAC, OSX] Fix field alignment.

This fixes an issue around field alignment when the dialog displays
scroll bars. Previous scroll would not only display the currently
active field, but also scroll the entire view 15 pixels to the side,
thus truncating the left edge. Since the scroll view is meant to scroll
only in y-direction, this simply forces the X coordinate to 0.

BUG=332678
R=estade@chromium.org

Review URL: https://codereview.chromium.org/141813005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248599 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/cocoa/autofill/autofill_details_container.mm