Make Label::GetHeightForWidth(0) take GetMaxLines() height.
Effectively, this says that zero-width labels are "as tall as possible", not "always one line high". Bug: none Change-Id: If09da545ffd2dc0d92f5ffdc574fcc63f34f6144 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2420128 Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by:Dana Fried <dfried@chromium.org> Commit-Queue: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/master@{#809098}
Showing
Please register or sign in to comment