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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Set background image without css
I'm looking for a solution to set up background image without CSS knowledge and addition of css files. At this point, I rely on mighty powers of Vaadin. Obviously, the solution posted here is not appropriate for me, since I use a built-in ValoTheme and I highly want to follow my principles (use only one styling).
Is it possible to do that without CSS?
Really hacky solution, but you could try to put an Image component in an AbsoluteLayout and then your content layout there on top of it in the same AbsoluteLayout
Thanks for suggestion, but problem has been solved by common solution - make css styling and then simply add with addStyle("v-mypicture"); Following question might be offtopic, but how do i save image quality but minimize it's size (i'm planning to set up background image to splashscreen)?
Thanks for tips