OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_STANDARD_LAYOUT_H_ | 5 #ifndef VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ |
6 #define VIEWS_STANDARD_LAYOUT_H_ | 6 #define VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/grid_layout.h" | |
10 | |
11 // | |
12 // This file contains some constants we use to implement our standard panel | 9 // This file contains some constants we use to implement our standard panel |
13 // layout. | 10 // layout. |
14 // see: spec 21/4 | 11 // see: spec 21/4 |
15 | 12 |
16 // Left or right margin. | 13 // Left or right margin. |
17 const int kPanelHorizMargin = 13; | 14 const int kPanelHorizMargin = 13; |
18 | 15 |
19 // Top or bottom margin. | 16 // Top or bottom margin. |
20 const int kPanelVertMargin = 13; | 17 const int kPanelVertMargin = 13; |
21 | 18 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // top or bottom of a button. | 57 // top or bottom of a button. |
61 const int kButtonVEdgeMargin = 6; | 58 const int kButtonVEdgeMargin = 6; |
62 | 59 |
63 // Vertical spacing between the edge of the window and the | 60 // Vertical spacing between the edge of the window and the |
64 // left or right of a button. | 61 // left or right of a button. |
65 const int kButtonHEdgeMargin = 7; | 62 const int kButtonHEdgeMargin = 7; |
66 | 63 |
67 // Horizontal spacing between buttons that are logically related. | 64 // Horizontal spacing between buttons that are logically related. |
68 const int kRelatedButtonHSpacing = 6; | 65 const int kRelatedButtonHSpacing = 6; |
69 | 66 |
70 #endif // VIEWS_STANDARD_LAYOUT_H_ | 67 #endif // VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ |
OLD | NEW |