Simple and plain (modal) Window

Hi,

I’m creating a simple modal window, but would like to remove everything else except the content. Is this possible to do programmatically somehow or do I need to hide stuff in CSS?
At least Window.setBorder(Window.BORDER_NONE) did not have any effect, at least not what I was hoping for.

// Jonas

[quote=Jonas Granvik]
Hi,

I’m creating a simple modal window, but would like to remove everything else except the content. Is this possible to do programmatically somehow or do I need to hide stuff in CSS?
At least Window.setBorder(Window.BORDER_NONE) did not have any effect, at least not what I was hoping for.

// Jonas
[/quote]Unfortunately your only option currently is to use a stylename for the window and hide unnecessary elements with CSS.

Ok, thanks for the reply.