OLD | NEW |
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 |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 | 13 |
14 // Left or right margin. | 14 // Left or right margin. |
15 const int kPanelHorizMargin = 13; | 15 const int kPanelHorizMargin = 13; |
16 | 16 |
| 17 // FIXME |
| 18 const int kPanelHorizMarginNewStyle = 20; |
| 19 |
17 // Top or bottom margin. | 20 // Top or bottom margin. |
18 const int kPanelVertMargin = 13; | 21 const int kPanelVertMargin = 13; |
19 | 22 |
20 // If some UI has some sub UI. Indent horizontally by the following value. | 23 // If some UI has some sub UI. Indent horizontally by the following value. |
21 const int kPanelHorizIndentation = 24; | 24 const int kPanelHorizIndentation = 24; |
22 | 25 |
23 // When several controls are aligned vertically, the baseline should be spaced | 26 // When several controls are aligned vertically, the baseline should be spaced |
24 // by the following number of pixels. | 27 // by the following number of pixels. |
25 const int kPanelVerticalSpacing = 32; | 28 const int kPanelVerticalSpacing = 32; |
26 | 29 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 67 |
65 // Horizontal spacing between buttons that are logically related. | 68 // Horizontal spacing between buttons that are logically related. |
66 const int kRelatedButtonHSpacing = 6; | 69 const int kRelatedButtonHSpacing = 6; |
67 | 70 |
68 // Indent of checkboxes relative to related text. | 71 // Indent of checkboxes relative to related text. |
69 const int kCheckboxIndent = 10; | 72 const int kCheckboxIndent = 10; |
70 | 73 |
71 } // namespace views | 74 } // namespace views |
72 | 75 |
73 #endif // UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ | 76 #endif // UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ |
OLD | NEW |