vaadin/vaadin-button

Styles missing: setIcon(new Image(...))

anezthes opened this issue · 3 comments

Some basic styling would be useful, like max-height/width. Assuming we want to support images as icons.

I'm not sure we'd want to support that kind of automatic CSS based resizing since it would accidentally make the user download a 100kb image file where 2kb would suffice.

We now have vaadin-avatar component that works with images, so I don't think we want this in vaadin-button. Closing.