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.
How to set style to particular subwindow in vaadin
1 decade ago May 29, 2012 10:22am
In my vaadin application, i have to set some style to subwindow. If i set style to window , then it would apply to all of other sub windows in the application. How do i apply style particular sub window ?. Following is my style named as newColor
You need to add a style name to the window, using the server side addStyleName method after creating the Window. You can then add separate CSS rules for the style name you used to distinguish that window from other windows.