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

Unified Diff: ui/views/window/dialog_client_view.cc

Issue 13925019: fix GridLayout::CreatePanel for new style dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: msw review Created 7 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 | « ui/views/layout/layout_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_client_view.cc
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc
index a9862927f04cac3102bc9db972e81d6a632b7d1d..fdc6c53328c1c6aee130fcb98a518054c0cec555 100644
--- a/ui/views/window/dialog_client_view.cc
+++ b/ui/views/window/dialog_client_view.cc
@@ -372,7 +372,8 @@ gfx::Insets DialogClientView::GetButtonRowInsets() const {
// NOTE: The insets only apply to the buttons, extra view, and footnote view.
return DialogDelegate::UseNewStyle() ?
- gfx::Insets(0, 20, 20, 20) :
+ gfx::Insets(0, kButtonHEdgeMarginNew,
+ kButtonVEdgeMarginNew, kButtonHEdgeMarginNew) :
gfx::Insets(0, kButtonHEdgeMargin,
kButtonVEdgeMargin, kButtonHEdgeMargin);
}
« no previous file with comments | « ui/views/layout/layout_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698