Is there any way to add custom image in icon.??
You can use ThemeResource.
Example:
ThemeResource customIcon = new ThemeResource(“images/header/customImage.png”);
Hello!
An empty icon would be great. I am using an icon for spacing.
The only working solution for me is to define the icon with a empty constructor. In this case I am getting the Vaadin icon }>. No I am setting the icon color to my background color. This is my empty spacer.
Of course this works but an empty icon would be much nicer.
Thank you very much,
Thomas