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

Unified Diff: chrome/browser/ui/views/passwords/credentials_item_view.cc

Issue 2832913002: Harmonizing SmartLock dialog (Closed)
Patch Set: Rebase Created 3 years, 8 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 | chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/passwords/credentials_item_view.cc
diff --git a/chrome/browser/ui/views/passwords/credentials_item_view.cc b/chrome/browser/ui/views/passwords/credentials_item_view.cc
index 5aafc9466aa8b668848d992912a3b6c045ac748d..3eff92e02f39260c27ab983da26fd7537d86ee83 100644
--- a/chrome/browser/ui/views/passwords/credentials_item_view.cc
+++ b/chrome/browser/ui/views/passwords/credentials_item_view.cc
@@ -150,7 +150,7 @@ gfx::Size CredentialsItemView::GetPreferredSize() const {
const gfx::Insets insets(GetInsets());
size.Enlarge(insets.width(), insets.height());
size.Enlarge(ChromeLayoutProvider::Get()->GetDistanceMetric(
- DISTANCE_UNRELATED_CONTROL_HORIZONTAL),
+ DISTANCE_RELATED_LABEL_HORIZONTAL),
0);
// Make the size at least as large as the minimum size needed by the border.
@@ -180,7 +180,7 @@ void CredentialsItemView::Layout() {
(upper_size.height() + lower_size.height())) / 2;
gfx::Point label_origin(image_origin.x() + image_size.width() +
ChromeLayoutProvider::Get()->GetDistanceMetric(
- DISTANCE_UNRELATED_CONTROL_HORIZONTAL),
+ DISTANCE_RELATED_LABEL_HORIZONTAL),
child_area.origin().y() + y_offset);
if (upper_label_)
upper_label_->SetBoundsRect(gfx::Rect(label_origin, upper_size));
« no previous file with comments | « no previous file | chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698