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

Side by Side Diff: ui/views/layout/layout_constants.h

Issue 13925019: fix GridLayout::CreatePanel for new style dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: slight clean-up 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ 5 #ifndef UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_
6 #define UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ 6 #define UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_
7 7
8 // This file contains some constants we use to implement our standard panel 8 // This file contains some constants we use to implement our standard panel
9 // layout. 9 // layout.
10 // see: spec 21/4 10 // see: spec 21/4
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const int kUnrelatedControlLargeVerticalSpacing = 30; 55 const int kUnrelatedControlLargeVerticalSpacing = 30;
56 56
57 // Vertical spacing between the edge of the window and the 57 // Vertical spacing between the edge of the window and the
58 // top or bottom of a button. 58 // top or bottom of a button.
59 const int kButtonVEdgeMargin = 9; 59 const int kButtonVEdgeMargin = 9;
60 60
61 // Vertical spacing between the edge of the window and the 61 // Vertical spacing between the edge of the window and the
62 // left or right of a button. 62 // left or right of a button.
63 const int kButtonHEdgeMargin = 13; 63 const int kButtonHEdgeMargin = 13;
64 64
65 // Vertical spacing between the edge of the window and the
66 // top or bottom of a button (when using new style dialogs).
67 const int kButtonVEdgeMarginNew = 20;
68
69 // Vertical spacing between the edge of the window and the
70 // left or right of a button (when using new style dialogs).
71 const int kButtonHEdgeMarginNew = 20;
72
65 // Horizontal spacing between buttons that are logically related. 73 // Horizontal spacing between buttons that are logically related.
66 const int kRelatedButtonHSpacing = 6; 74 const int kRelatedButtonHSpacing = 6;
67 75
68 // Indent of checkboxes relative to related text. 76 // Indent of checkboxes relative to related text.
69 const int kCheckboxIndent = 10; 77 const int kCheckboxIndent = 10;
70 78
71 } // namespace views 79 } // namespace views
72 80
73 #endif // UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ 81 #endif // UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698