setWidth method

void setWidth(
  1. int width
)

Sets the width.

Implementation

void setWidth(int width) {
  setSize(width, _height);
}