Hello,

I want to create panel that fits window by width but has fixed height:
Code:
  Viewport viewport = new Viewport ();
        viewport.setEnableScroll(true);
        viewport.setLayout(new FitLayout());
        viewport.setAutoHeight(false);
        viewport.setHeight(700);
        viewport.setScrollMode(Style.Scroll.AUTOY);

        ContentPanel cpanel = new ContentPanel();
        cpanel.setHeight(700);
        viewport.add(cpanel);

        RootPanel.get().add(viewport);
But when I resize browser window, viewport height allways recalculated.

So how to make it fixed?