Teach stack to size to the max of its non-positioned children
Previously, it would always try to be as big as possible. This CL fixes a problem with the search bar whereby the text wasn't centered. Now the Stack for the text sizes its height properly and then becomes centered. R=ianh@google.com Review URL: https://codereview.chromium.org/1184483002.
Showing
想要评论请 注册 或 登录