When adding programmatically the code starts at the center of the view, but if I want the switch to be centered it has to be manually adjusted by
LabelSwitch(center: CGPoint(x: self.switchStackView.center.x - X, y: self.switchStackView.center.y), leftConfig: ls, rightConfig: rs)
attempting to adjust center when calculating center
self.center.x = self.center.x - diameter - 2 * circlePadding, this is still missing about 8-10 points that should be offset but not sure why