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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
How to change Panel border color
The code is:
Panel titlePanel=new Panel();
titlePanel.setHeight("30px");
titlePanel.setWidth("230px");
titlePanel.addStyleName("caption");
The css is:
.caption{
border: 1px solid #FF7D00;
}
But the panel's border-right-color did not changed,and I add the code 'border-right-color:#FF7D00' into the css,it did not work anymore.
Last updated on
The border is around the panel content.
.caption .v-panel-content {
border: 1px solid #FF7D00;
}
Last updated on
+2
You cannot reply to this thread.