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 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "ui/views/layout/grid_layout.h" | 9 #include "ui/views/layout/grid_layout.h" |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
76 // Horizontal spacing between buttons that are logically related. | 76 // Horizontal spacing between buttons that are logically related. |
77 constexpr int kRelatedButtonHSpacing = 6; | 77 constexpr int kRelatedButtonHSpacing = 6; |
78 | 78 |
79 // Indent of checkboxes relative to related text. | 79 // Indent of checkboxes relative to related text. |
80 constexpr int kCheckboxIndent = 10; | 80 constexpr int kCheckboxIndent = 10; |
81 | 81 |
82 // Horizontal spacing between the end of an item (i.e. an icon or a checkbox) | 82 // Horizontal spacing between the end of an item (i.e. an icon or a checkbox) |
83 // and the start of its corresponding text. | 83 // and the start of its corresponding text. |
84 constexpr int kItemLabelSpacing = 10; | 84 constexpr int kItemLabelSpacing = 10; |
85 | 85 |
86 // Horizontal spacing between the image of a label button and its text. This | |
87 // affects checkboxes and radiobuttons. | |
88 constexpr int kIconTextSpacing = 5; | |
sky
2017/02/17 20:50:46
Isn't the goal to effectively get rid of this file
kylix_rd
2017/02/17 21:40:51
That would then be a circular reference, which wou
sky
2017/02/17 22:39:03
I was hoping you could call directly to the base i
Peter Kasting
2017/02/18 00:52:58
Yes. And I'm not a huge fan of how LayoutDelegate
| |
89 | |
86 } // namespace views | 90 } // namespace views |
87 | 91 |
88 #endif // UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ | 92 #endif // UI_VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ |
OLD | NEW |