setWidthRatio

fun setWidthRatio(@FloatRange(from = 0.0, to = 1.0) value: Float): Balloon.Builder

sets the width size by the display screen size ratio.