Commit ccc23774 authored by sczs's avatar sczs Committed by Commit Bot

[ios] Fixes cutoff Disclosure header subtitle label

Changes the vertical stackView distribution to
UIStackViewDistributionFillProportionally,so the stackView
doesn't cut the subtitle label for lack of space.


Bug: 862744
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I524dacb378515088faae9e99c0db408ad3f9b4b0
Reviewed-on: https://chromium-review.googlesource.com/1147541Reviewed-by: default avatarKurt Horimoto <kkhorimoto@chromium.org>
Commit-Queue: Sergio Collazos <sczs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577401}
parent a1d9b667
......@@ -110,6 +110,7 @@ constexpr float kRotationNinetyCCW = -(90 / 180.0) * M_PI;
UIStackView* verticalStack = [[UIStackView alloc]
initWithArrangedSubviews:@[ _titleLabel, _subtitleLabel ]];
verticalStack.axis = UILayoutConstraintAxisVertical;
verticalStack.distribution = UIStackViewDistributionFillProportionally;
// Disclosure ImageView. Initial pointing direction is to the right.
_disclosureImageView = [[UIImageView alloc]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment