/// <summary> /// MUST GO FIRST /// </summary> public static double AdjustForOsAndDevice(this double startingSize) { var factor = Math.Min(MAX_OS_AND_DEVICE_ADJUSTMENT, CURRENT_DEVICE_WIDTH_RATIO * (FormsUtils.IsIos() ? IOS_MULTIPLIER : ANDROID_MULTIPLIER)); var retSize = startingSize * factor; return(retSize); }