Painting widget