writeWidgetRelativePositioning fully implemented