Chromium Code Reviews| Index: chrome/browser/ui/views/payments/payment_request_views_util.cc |
| diff --git a/chrome/browser/ui/views/payments/payment_request_views_util.cc b/chrome/browser/ui/views/payments/payment_request_views_util.cc |
| index 375ec5fe136e76eef67691390b2bd4e16e37d99c..e5df4332a9b2ecdeca8718c082147d31d5d79ff4 100644 |
| --- a/chrome/browser/ui/views/payments/payment_request_views_util.cc |
| +++ b/chrome/browser/ui/views/payments/payment_request_views_util.cc |
| @@ -80,18 +80,21 @@ std::unique_ptr<views::View> GetThreeLineLabel(AddressStyleType type, |
| label->SetFontList(font_list.DeriveWithWeight(gfx::Font::Weight::BOLD)); |
| } |
| label->set_id(static_cast<int>(DialogViewID::THREE_LINE_LABEL_LINE_1)); |
| + label->SetHorizontalAlignment(gfx::ALIGN_LEFT); |
|
Mathieu
2017/04/27 18:17:00
bleh, how is this not the default :\
|
| container->AddChildView(label.release()); |
| } |
| if (!s2.empty()) { |
| std::unique_ptr<views::Label> label = base::MakeUnique<views::Label>(s2); |
| label->set_id(static_cast<int>(DialogViewID::THREE_LINE_LABEL_LINE_2)); |
| + label->SetHorizontalAlignment(gfx::ALIGN_LEFT); |
| container->AddChildView(label.release()); |
| } |
| if (!s3.empty()) { |
| std::unique_ptr<views::Label> label = base::MakeUnique<views::Label>(s3); |
| label->set_id(static_cast<int>(DialogViewID::THREE_LINE_LABEL_LINE_3)); |
| + label->SetHorizontalAlignment(gfx::ALIGN_LEFT); |
| container->AddChildView(label.release()); |
| } |