Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Grid ButtonRenderer Styling

Al Lestaire Acasio
6 years ago Dec 14, 2015 3:04am
Tatu Lund
6 years ago Dec 14, 2015 11:23am
Al Lestaire Acasio
6 years ago Dec 15, 2015 12:39am
Tatu Lund
6 years ago Dec 15, 2015 6:40am

In renderers there is no API to change the stylename. You could create custom renderer that sets its own stylename for the button. However if your intention is to apply predefined stylenames of the Valo theme and expect it to behave in similar fashion than Vaadin Button, it wont work. Native button is not supporting those styles directly. So instead you should study what GWT Button can do and how to style it with CSS and add your custom styling to your theme.