Merge "Get the width from the parent rather than a resource." into jb-ub-mail