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.
Problem when migrate to Vaadin 6.3.0
Hi,
I migrate to the Vaadin 6.3.0 version, It is well and very nice!!
But, I have a problem in All my Embedded components :(
for example: I put an image using Embedded component in a VertivalLayout, the first screen-shot using the old version Vaadin 6.2.4 shows the image in correct possition what i want (no margin, and no spacing). And the second screen-shot using Vaadin 6.3.0 version shows the image differently (with margin)!!
there is my code:
VerticalLayout bglayout = new VerticalLayout();
bglayout.setHeight("150px");
bglayout.addComponent(new Embedded("",new ThemeResource("images/imgtest.png")));
Can some one explain me whats the problem??
The caption rendering changed slightly in 6.3.0 so that an empty caption ("") is rendered while a null caption is not rendered. What you are seeing is the empty caption. (It was previously rendered in IE6/IE7 but not in other browsers. Now it works consistently in all browsers). Solution: use null instead of "" as caption
Thank you Artur!!
hmm, so the problem is in the caption!!
I put the caption to null and it works correctly!!
bglayout.addComponent(new Embedded([b]null[/b],new ThemeResource("images/imgtest.png")));
:)