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

Unified Diff: chrome/browser/ui/views/arc_app_dialog_view.cc

Issue 2888563004: Delete panel metrics and define insets in terms of distance metrics. (Closed)
Patch Set: one wrong conversion Created 3 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
Index: chrome/browser/ui/views/arc_app_dialog_view.cc
diff --git a/chrome/browser/ui/views/arc_app_dialog_view.cc b/chrome/browser/ui/views/arc_app_dialog_view.cc
index 3ecf43107d7c11b901631d4e373cc8438de38e63..21cd7b872c20004baac9012535bf9fe7397c2926 100644
--- a/chrome/browser/ui/views/arc_app_dialog_view.cc
+++ b/chrome/browser/ui/views/arc_app_dialog_view.cc
@@ -128,11 +128,11 @@ ArcAppDialogView::ArcAppDialogView(Profile* profile,
SetLayoutManager(new views::BoxLayout(
views::BoxLayout::kHorizontal,
- provider->GetDistanceMetric(DISTANCE_DIALOG_BUTTON_MARGIN),
provider->GetDistanceMetric(
- DISTANCE_PANEL_CONTENT_MARGIN),
+ views::DISTANCE_DIALOG_CONTENTS_HORIZONTAL_MARGIN),
provider->GetDistanceMetric(
- views::DISTANCE_RELATED_CONTROL_HORIZONTAL)));
+ views::DISTANCE_DIALOG_CONTENTS_VERTICAL_MARGIN),
+ provider->GetDistanceMetric(views::DISTANCE_RELATED_CONTROL_HORIZONTAL)));
icon_view_ = new views::ImageView();
icon_view_->set_preferred_size(gfx::Size(kIconSize, kIconSize));

Powered by Google App Engine
This is Rietveld 408576698