Is it possible that at the root of your element you've set a fixed size?
I think you have two options. The first would be to set the Clip property of your root control (I think you have to setup a rectangle for that...should be easy to google).
The other option is to dynamically size the app based on the size of the browser. Here's an example
on Stack Overflow[
^].
Cheers.