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

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: edits 2 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 d4e2840716ad87de158f983c0653e6b8fc8b8289..28da62fff5c419815c4001877439ed0e912b282d 100644
--- a/chrome/browser/ui/views/arc_app_dialog_view.cc
+++ b/chrome/browser/ui/views/arc_app_dialog_view.cc
@@ -141,11 +141,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 FixedBoundarySizeImageView();
AddChildView(icon_view_);

Powered by Google App Engine
This is Rietveld 408576698