Is there a way to apply CSS styles to a specific Vertical Panel in GWT?
Below is an example code that demonstrates how you can achieve this:
MainPanelResources.java
public interface MainPanelResources extends ClientBundle {
public interface MyMainPanelResourcesCss extends CssResource{
public static final MainPanelResources INSTANCE = GWT.create(MainPanelResources.class);
@Source("MainPanel.css")
public CssResource css();
}
}
MainPanel.css
@external .mainPanel {
border: 1px solid black;
}