public static void AdjustSizes(string widgetType, iOSVariable location, string text, ref int width, ref int height) { if (widgetType == "Picker") { height = (int)(height * COMBOBOX_EXTENTION); //location.TranslationY += COMBOBOX_Y_MARGIN; } else if (widgetType == "AdMobBanner") { //AdMob.GetAdSize(text, ref width, ref height); } if (widgetType == "TypePicker" || widgetType == "Picker") { int screenWidth = (int)UtilsiOS.GetRealScreenWidth(); if (screenWidth <= AutoScaleFunction.BASE_WIDTH) { // Check Combo height for smaller iPhones height = Math.Max(height, MAX_COMBO_HEIGHT_SMALL); } } location.SetSize(width, height); }