WidgetA.text = value;
//We must use "localSize" here as UILabels recalculate their text processing on when localSize is called.
//Calling localSize will force this recalculation immediately.
var size = WidgetA.localSize;
WidgetB.UpdateAnchors();
var sizeB = WidgetB.localSize; //<-- not going to be correct.
....