I have an HTML template and I want to use it in my Vaadin application.
I created a window like this:
final CustomLayout customLayout = new CustomLayout("entrywindow");
window = new Window(TM.get("entrywindow.1-title"));
window.setContent(customLayout);
But the Vaadin page looks different from the original HTML template.
Have you tried using firebug (or an equivalent tool) for checking what kind of CSS is applied to your layout? Just to make sure that there aren’t any inherited styles (from, for example, the Vaadin theme) which are being applied.
I tried to set the number of colums in user name and password text field, and it helped a bit - now, at least the user name text field is displayed (before I called setColumns, it was not visible at all).