FluidAppLevelWindow?

Hello,

I’m trying to get a window or page in Nav7 whose width is 100% of the screen. I believe I need to extend FluidAppLevelWindow to do this.

If this is correct, what is the correct way to extend FluidAppLevelWindow?

This is what I’m trying:


public class PiAppLevelWindow extends FluidAppLevelWindow {

	public PiAppLevelWindow() {
		super();
		this.setWidth("100%");
	}

	@Override
	protected ComponentContainer createComponents() {
		VerticalLayout vl = new VerticalLayout();
		vl.setWidth("100%");
		return vl;
	}

All I get with this is a blank page.

Please help?

Thanks

Nevermind, had to use HeaderFooterFluidAppLevelWindow


public class PiAppLevelWindow extends HeaderFooterFluidAppLevelWindow {

	public PiAppLevelWindow() {
		super();
		this.setWidth("100%");
	}
	
	@Override
	protected Component createHeader() {
		return new Label("");
	}

	@Override
	protected Component createFooter() {
		return new Label("");
	}
}