Tried this, didn't solve it. Does appear to calculate the right width though (when the text size is changed; not enough to trigger the axis change).
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: