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

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: remove instance of CreatePanel that doesn't seem to serve any purpose 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
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
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_
OLDNEW
« ui/views/layout/grid_layout.cc ('K') | « ui/views/layout/grid_layout.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698