dag: use setWidth(int) when drawing