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

Unified Diff: chrome/browser/ui/views/harmony/layout_delegate.cc

Issue 2556563005: views: add harmony control label alignment (Closed)
Patch Set: remove constant from views Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/harmony/harmony_layout_delegate.cc ('k') | ui/views/layout/layout_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/harmony/layout_delegate.cc
diff --git a/chrome/browser/ui/views/harmony/layout_delegate.cc b/chrome/browser/ui/views/harmony/layout_delegate.cc
index 325d9499581b10d59d3cd85f76068cd819c74ee1..8b57e7b814f9b9acce53afae1abf987546bbe89d 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.cc
+++ b/chrome/browser/ui/views/harmony/layout_delegate.cc
@@ -45,7 +45,7 @@ int LayoutDelegate::GetLayoutDistance(LayoutDistanceType type) const {
views::GridLayout::Alignment LayoutDelegate::GetControlLabelGridAlignment()
const {
- return views::kControlLabelGridAlignment;
+ return views::GridLayout::TRAILING;
}
bool LayoutDelegate::UseExtraDialogPadding() const {
« no previous file with comments | « chrome/browser/ui/views/harmony/harmony_layout_delegate.cc ('k') | ui/views/layout/layout_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698