calculateComponentWidth

fun calculateComponentWidth(component: Component, lang: String = "en_us"): Float

Calculates the width of a component.