width

Function

Android
fun GlanceModifier.width(width: Dp): GlanceModifier

Sets the absolute width of an element, in Dp.

Android
fun GlanceModifier.width(@DimenRes width: Int): GlanceModifier

Set the width of a view from the value of a resource.