width property

num width

Gets or sets the column width, in local coordinates. The size describes the column width if #isRow is false; otherwise this property is meaningless. The value must be non-negative and finite.

The default value is NaN, which means this column will get a width that is just big enough to hold all of the objects in the column.

Setting this value to a number will mean that all of the objects of this Panel in this column will be allocated that amount of column width. Whether an object in the column is actually arranged to have that width depends on whether the GraphObject#stretch stretches horizontally.

Implementation

_i2.num get width => _i4.getProperty(
      this,
      'width',
    );
void width=(num value)

Implementation

set width(_i2.num value) {
  _i4.setProperty(
    this,
    'width',
    value,
  );
}