getWidth

open fun getWidth(locale: String): Float

Gets the width of the Component in pixels.