WidgetSpecific.setWidth

Specifies the width to assign to the item's widget. If this option is not specified, or if it is specified as zero, then the widget is given whatever width it requests internally.

mixintemplate WidgetSpecific()
setWidth
(
this T
W
)
()
if (
is(W == int) ||
is(W == Nullable!(int))
)

Parameters

width W

The widget width.

Return Value

Type: auto

This item to aid method chaining.

Meta